Python: Naming Variables
一
- only use ordinary letters, numbers, or underscores in variable names
- need to start with a letter or underscore
table6
table_6
二
can’t use reserved words or built-in identifiers
三
pythonic way to name variables is to use all lowercase letters and underscores to separate words, called snake case.
my_height = 170
my_lat = 40
my_long = 100