+ 2
What I'm doing wrong here
using input() my if condition not satisfied but when i declare a variable that time it works. anyone please let me know why this happen https://code.sololearn.com/cBja1iqt9ed4/?ref=app
6 Answers
+ 6
https://code.sololearn.com/cIKIKrcilrVU/?ref=app
+ 5
Please specify the errors that you are getting... I'm not omniscient or telepathic.
+ 4
On line 9, convert input to int.
int(input())
On line 13, convert rollno to str.
str(rollno)
+ 1
I have already checked this but not worked
+ 1
Hi Hatsy,
I have made the changes as suggested by you and it works on this app but not worked on my python IDLE 3.5.2.
Would you please let me know how can I fix it on IDLE too?
+ 1
Hey Hatsy,
Sorry, for confusion. I have made one silly mistake. Now I fixed that and your suggestion is working now.
Thanks a lot.