0
why this-is-name=7 is not correct and THIS_IS_NAME=7 is correct😲
8 Antworten
+ 3
- is not a valid letter for naming because python uses it as a operator. IE 3-1
_ is valid for breaking up words in a name
0
go review the first module. it has a section on variables that goes over this.
0
still dont get it , arent they thé same?
0
there are rules for naming variables. such as not starting a variable with a number, not containing spaces, and no symbols other than an underscore
0
because - is an invalid identifiers
0
u only can use underscores for separating words
0
No such variables as- CAN be added in the pythons set of rules