Variables store data that your program can use. Python is dynamically typed, so you don't need to declare types explicitly.
Note: Variable names cannot start with a number and are case-sensitive.
Python has several built-in data types:
age = 30height = 5.6name = "Alisha"is_active = Truenumbers = [1,2,3]person = {"name":"Alisha", "age":30}Use input() to get user input and print() to display output:
Python supports various operators:
Directory layout and simple script: