Behaviour of raw_input()

raw_input returns a string. So use int(raw_input()).

And for how string and int comparsions work, look here.

Leave a Comment