Sep-08-2019, 09:48 AM
Hi guys i try to add elif where input is not a number to print 'please put number.' but for some reason its not working. Anyone know how to fix this?

a = int(input()) b = int(input()) if b > a : print ('b is greater than a') elif a == b: print('a and b are equal') elif a > b : print('a is greater than b ') elif a or b != int(): print('please put number.')