assigning the value, having problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

assigning the value, having problem

foo = amit print(foo) why it is not printing this

1st Aug 2018, 1:27 PM
amit rathore
3 Answers
+ 3
what value does the variable amit contain?
1st Aug 2018, 1:28 PM
J.G.
J.G. - avatar
+ 3
If you are trying to print it as a string, then you need the literals: "amit"
1st Aug 2018, 1:29 PM
J.G.
J.G. - avatar
- 1
yes
1st Aug 2018, 1:32 PM
amit rathore