How to define a variable in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to define a variable in python

19th Sep 2019, 3:37 AM
Mahantesh Mahantesh
Mahantesh Mahantesh - avatar
3 Answers
+ 2
X=input()
19th Sep 2019, 4:58 AM
KfirWe
KfirWe - avatar
0
Just initialize it. x = 100
19th Sep 2019, 4:17 AM
Airree
Airree - avatar
0
No i want give input to my variable that's why i am asking
19th Sep 2019, 4:55 AM
Mahantesh Mahantesh
Mahantesh Mahantesh - avatar