Python Data Types
PYTHON NUMBERS
- Python numbers are combination of Integers, Floating point numbers and Complex numbers.
- The Numbers are defined as int, float and complex class in python.
- We use type() function to check whether which class a variable belongs to.
Taking Input from user in Python :
In Python we can take input from user by using 'input' keyword.
Refer Following example for better understanding.
Comments
Post a Comment