0

I didn't understand this

>>> this_is_a_normal_name = 7 >>> 123abc = 7 SyntaxError: invalid syntax >>> spaces are not allowed SyntaxError: invalid syntax

7th Aug 2018, 10:24 AM
shobbithaa shre
shobbithaa shre - avatar
6 odpowiedzi
+ 3
You can't start variable names with digits!
7th Aug 2018, 10:46 AM
Dlite
Dlite - avatar
+ 1
it's possible, but not necessary. instead of :: my_Var = 7 you could use myVar = 7
7th Aug 2018, 10:59 AM
Dlite
Dlite - avatar
+ 1
Yes
7th Aug 2018, 11:09 AM
Dlite
Dlite - avatar
0
Should we give underscore after every word?
7th Aug 2018, 10:55 AM
shobbithaa shre
shobbithaa shre - avatar
0
Okay.. Instead of giving space we should give underscore?
7th Aug 2018, 11:01 AM
shobbithaa shre
shobbithaa shre - avatar
0
Okay thank you so much
7th Aug 2018, 11:09 AM
shobbithaa shre
shobbithaa shre - avatar