what mistake did i did again | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
21st Aug 2020, 9:25 AM
zeeshan
zeeshan - avatar
2 Answers
+ 1
I meant copy the code exactly. I didnt put anything in the input() brackets. That would defeat the purpose of asking for an input if you just type it in the code, think about that. when you use input(), the computer will basically ask you for info. you type it in, then hit enter and the variable name is now assigned to the value you typed in. please either try this more yourself, or go through the python tutorial for input
21st Aug 2020, 9:28 AM
Slick
Slick - avatar
0
https://code.sololearn.com/cBKM6zaR1r8K/?ref=app See this, I think you understand :))
21st Aug 2020, 10:02 AM
RuntimeERROR
RuntimeERROR - avatar