Created by Salman Al Qureshi Linkedin: Salman Qureshi
') or double (") quotes. They represent text data that your program can use. Examples:age = 30
Floats (decimal numbers): Numbers with a decimal point. Example: pi = 3.14159message, temperature).
Assigning values: The equal sign (=) is used to assign a value to a variable. Example: temperature = 25.
Reassignment: Variables are flexible; you can change the value stored in them later in your code.MAX_SPEED = 100 (speed limit)..png)
[]. They can hold elements of different data types. Useful for storing sequences of data. Example: fruits = ["apple", "banana", "cherry"]coordinates = (10, 20){}. Used to store data associated with unique keys. Example: person = {"name": "Bob", "age": 35}