Variables store data values. Python supports multiple data types such as integers, strings, lists, and dictionaries.
You can create variables simply by assigning values to them:
name = "Alice"
age = 25
is_student = True
Python has various built-in data types, including:
Create variables for your favorite color, number, and whether you are a student, and print them out.
Answers: A variable stores a value. The basic data types are int, float, str, bool, list, and dict.