Naming Rules
There are several rules for naming variables in Python. These are the following:
- A variable name must start with a letter or the underscore character, which means a variable name can not begin with a number.
- A variable name may contain only English letters, numbers, and underscore characters.
- Variables’ names are case sensitive, i.e.,
Chapter
,chapter
, andCHAPTER
will be considered three different objects by Python.
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 4
Naming Rules
Veeg om het menu te tonen
There are several rules for naming variables in Python. These are the following:
- A variable name must start with a letter or the underscore character, which means a variable name can not begin with a number.
- A variable name may contain only English letters, numbers, and underscore characters.
- Variables’ names are case sensitive, i.e.,
Chapter
,chapter
, andCHAPTER
will be considered three different objects by Python.
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2