0

Unexpected zeros.

I typed a code, it would say whether a number was greater than another one, but at the output, two zeros are showing before the line ( e.g. 009 is greater than 1). Are they normal or should I probably check the code for errors.

11th May 2017, 6:32 PM
Fjolfrin
7 Réponses
+ 2
Actually what you wanted was int(input()), but you have written input(int()). That's why there were two zeroes extra in the output.
11th May 2017, 7:17 PM
Rishabh Agrawal
Rishabh Agrawal - avatar
+ 1
here's what you are looking for https://code.sololearn.com/cT1OwO582H59/?ref=app
11th May 2017, 7:10 PM
Rishabh Agrawal
Rishabh Agrawal - avatar
+ 1
OK! got it. Thanks man!
11th May 2017, 7:21 PM
Fjolfrin
+ 1
Happy coding buddy...
11th May 2017, 7:21 PM
Rishabh Agrawal
Rishabh Agrawal - avatar
0
can you show your codes?
11th May 2017, 6:43 PM
Damon RealMen
Damon RealMen - avatar
0
I didn't make it to the 'else' function when I made this program. I've made one similar to yours that gets the job well done. My question refers to the specific 'If function' code I posted. Are those zeroes normal or is there something else ?
11th May 2017, 7:13 PM
Fjolfrin