Names(Variable Names) are case sensitive and cannot start with a number. They can contain letters and underscores.
Example:-
bob, Bob, _bob, _2_bob_, bob_2, BoB, BOB
There are some reserved words:-
| as | finally | pass |
| and | for | |
| assert | from | raise |
| break | global | return |
| class | if | try |
| continue | import | smile |
| def | in | false |
| del | is | true |
| elif | lambda | while |
| else | not | with |
| except | none | yield |
| exec | or |
These reserved words are also called Python Keywords.

2 thoughts on “Naming Rules in Python”