Rules for setting variable names in Python | Python Tutorial for Beginners

preview_player
Показать описание
There are 4 major rules for setting variable names in python programming language.
We will learn about these rules in this video.

0:00 Starts with letter or Underscore :
A variable name must start with a letter or the underscore character

0:55 Cannot Start with Numbers:
A variable name cannot start with a number

1:50 Only Alpha-numeric and Underscore:
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )

3:55 Variable name are case-sensitive:
Variable names are case-sensitive (age, Age and AGE are three different variables)
Рекомендации по теме
join shbcf.ru