Contenu du cours
Introduction to Python | Mobile-Friendly
Introduction to Python | Mobile-Friendly
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.
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 2