Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
Variable special characters
it says that special symbols can't be used in variable names however in the lesson "Naming Variables" it stated that The first character can be a letter, an underscore (_), or a dollar sign ($). Can someone clarify this contradiction?
1 ответ
0
When you go to declare a variable, you have to give a name of the variable!!
The name can be be started with a letter (a,b,c etc), you can also use $ and _ sign!! But others sign such as (#,*,@, etc) is not allowed!!
https://code.sololearn.com/Wn5P8diAj6m7/?ref=app
Remove // from 8 and 9th line to prove it!