Learn to Code via Tutorials on Repl.it!

← Back to all posts
Understanding variables in Python
PavanBaddi

Python is a dynamically typed programming language which means there is no need to declare the data type of variable.

Example

To check variable belongs to which data type use type()  built-in method in python.

Example

Combine Variables

In python, operators are used to combining, do mathematical calculation or logical conditioning.

Example

The article was taken from the code learners website

Voters
VIJAY191099
Codemonkey51
PavanBaddi
Comments
hotnewtop
glamourgirl

Awesome!
:D!

Codemonkey51

Cool!