Python Variables
Variables are used to store data in Python. You can assign a value to a variable using the = operator.
Example:
name = "John"
age = 25
print(name, age)
Python Data Types
Python supports various data types, including:
- int: Integer values (e.g.,
10) - float: Decimal values (e.g.,
3.14) - str: Strings (e.g.,
"Hello") - bool: Boolean values (
TrueorFalse)
Next Steps
In the next tutorial, we will explore Python Control Structures.