How do you use the code var | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How do you use the code var

I put var c = 0;

5th Feb 2022, 4:59 AM
Matthew Anderson
3 Answers
+ 1
¿What programming language are you referring to? ¿JS? Here is a lesson on it. https://www.sololearn.com/Course/JavaScript/1128/?ref=app https://www.sololearn.com/Course/JavaScript/2969/?ref=app
5th Feb 2022, 5:05 AM
CGM
CGM - avatar
0
Matthew Anderson In python you don’t use the word var instead you just wtite the variable name like this you also dont need a semi colen at the end num = 10
5th Feb 2022, 11:02 PM
Junior
Junior - avatar
0
In js we use var keyword but in python you must write variable name and it value. For example: In js: Var c = 0; In Python: C=0
6th Feb 2022, 2:15 PM
Matin Nouri
Matin Nouri - avatar