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.
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 2
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Mi faccia domande su questo argomento
Riassuma questo capitolo
Mostri esempi dal mondo reale
Awesome!
Completion rate improved to 4
Naming Rules
Scorri per mostrare il menu
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.
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 2