- 1

problem in my code give it a look

i made a program in python but in the if and else conditions only the else statement gets printed even if the condition is true. need help!!

6th Jul 2017, 12:02 PM
DETSUP
DETSUP - avatar
2 odpowiedzi
+ 1
cast integer to a because input returns string. int(a) will do
6th Jul 2017, 12:11 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
Thanks cheez it worked!
6th Jul 2017, 1:09 PM
DETSUP
DETSUP - avatar