This was was supposed to give the output that the given number is which type of integer. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

This was was supposed to give the output that the given number is which type of integer.

The same code copied on pycharm is working absolutely fine but not here https://code.sololearn.com/cPsquRVM371O/?ref=app

26th Aug 2020, 6:20 PM
Mr.Stark
Mr.Stark - avatar
4 Answers
+ 5
You should enter all Input at once(in sololearn).. 3 -1 0 4 Like this..
26th Aug 2020, 6:27 PM
Ajith
Ajith - avatar
+ 3
copy paste this as inputs 3 5 -5 0
26th Aug 2020, 6:28 PM
Rohit
+ 1
Thanks now it works fine
26th Aug 2020, 6:29 PM
Mr.Stark
Mr.Stark - avatar
+ 1
Give up inputs here! Instead use x = "3,-1,0,4" and then my_list=x.split(",") less headache more smile
26th Aug 2020, 6:31 PM
Shadoff
Shadoff - avatar