#4- Python | Python Variables | Declaration of variable

preview_player
Показать описание
# creating variable
# Python has no command for declaring a variable.

# A variable is created the moment you first assign a value to it.
# Variables do not need to be declared with any particular type,
# and can even change type after they have been set.
# If you want to specify the data type of a variable, this can be done with casting
# You can get the data type of a variable with the type() function.

==============ASK QUESTIONS==================
Рекомендации по теме