_
).age
, Age
, and AGE
are different variables).@
, #
, $
).if
, else
, for
, while
).Examples:
=
to assign a value to a variable.Examples:
Examples:
10
, -5
)3.14
, -0.001
)"Hello"
, 'Python'
)True
or False
[1, 2, 3]
)(1, 2, 3)
){"name": "Alice", "age": 25}
){1, 2, 3}
)Examples:
Example:
type()
function to check the type of a variable.Example:
Example:
del
keyword to delete a variable.Example:
Example:
user_age
instead of ua
).snake_case
for variable names).