9.1 Naming Conventions

Variable names (also called identifiers) in Python have to follow the following rules:

Thus, KyloRen, IG88, and luke_Skywalker are valid variable names, but these are not: Luke+Leia_4_Evar (contains special character +), 2ManyStormTroopers (starts with a digit), and Han Shot First (contains spaces).