Why does eh = int(input()) not work in all IDEs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does eh = int(input()) not work in all IDEs?

So I have this little line of code, eh = int(input()) {inputting an integer and assigning it to a variable}. Why does it work in some IDEs(including Solo learn) but return an error in others?

27th Aug 2022, 7:20 PM
Joshua Aquatic
Joshua Aquatic - avatar
1 Answer
+ 1
Which ide? eh = int( input() ) It's a valid proper statement in python. If returns error means ide issue. Check ide installation and instructions guide.
29th Aug 2022, 9:25 AM
Jayakrishna 🇮🇳