studytonight.com
  • Tutorials 

    PROGRAMMING

    Core Java

    C++

    C Language

    Network Programming

    Python

    Data Structure

    Android

    PHP

    Ruby

    Servlet

    JSP


    WEB

    HTML Course

    Web Playground

    CSS

    REST Web Service


    COMPUTER

    Computer Network

    Operating System

    Computer Architecture


    GAME DEVELOPMENT

    Game Development with Unity Engine


    DB

    DBMS

    MongoDB

    PL/SQL


    MISCELLANEOUS

    GIT

    Scrum Framework

    Jenkins

    Maven

    Apache Cordova

    Drools


  • Tests
  • HTML Course
  • Curious
  • Practice Coding NEW
    Library
    Tests
    HTML Course
    Curious
    Sign in
We are Hiring!                  Sign in

Defining and using Variables

Variables are used to store values to carry out operations or to save user input values.

Try using mathematical operators on these variables. Click the button, to Run the code again.

CODE SNIPPETS


  1. Print Hello World! Message - First Python Program
  2. Use semicolon ; to join two Executable Statements
  3. Use Forward slash / to break code into multiline code
  4. Using Math Operators
  5. What are Variables?
  6. Importing External Modules (Eg. Math Module)
  7. Input Output in Python
  8. Introduction to Datatypes
  9. Introduction to Strings - Defining and Indexing
  10. Knowing the Basic String Operations
  11. Converting String to Int/Float and vice-versa
  12. String Slicing Operation
  13. String Functions - len(), find(), replace() & split()
  14. String Uppercase and Lowercase conversionpython-list.php
  15. List - How to Create, Append, Copy and Index a List
  16. List - Traversing List elements using Loops
  17. zip function to iterate over two Lists
  18. Delete a List Item - Using del, remove() or pop()
  19. Convert a List into a String
  20. Common List functions - insert(), reverse() & sort()

What is Studytonight?

About Us

Authors

Collaborate

Testimonials

Privacy Policy

Terms

Contact Us

Suggest

Tutorials

Android

Core Java

C++

Data Structures

Python

Network Programming

DBMS & SQL

Servlet

More...

Tests

Core Java

Android

C++

DBMS

C Language

More...

Learn to Code

HTML

CSS

Website Development

Interview Questions

Java Interview Question

C++ Interview Question

OS Interview Question

DBMS Interview Question

More...

       

Made with by Abhishek Ahlawat

© 2019 Studytonight.   All rights reserved.

DMCA.com Protection Status