Python Basics - Variables
Variable is type of storage for any form of data.
Data types: string, integer, float, double (not in Python), complex, character, boolean.
How to name a variable?
Three Methods: camelCase (First word lowercase, next words capitalized), snake_case (All lowercase words separated by underscores), PascalCase (Every single word is capitalized).
We cannot begin the name of variable with number or special character expect underscore and cannot give space between the name of variables.
Code:
name = "AriCodes"
age = 0.25
lecNo = 3
print (name, age, lecNo)