RosettaCodeData/Task/Integer-comparison/Python/integer-comparison-1.py

11 lines
229 B
Python
Raw Normal View History

2013-04-10 21:29:02 -07:00
#!/usr/bin/env python
a = int(raw_input('Enter value of a: '))
b = int(raw_input('Enter value of b: '))
if a < b:
print 'a is less than b'
elif a > b:
print 'a is greater than b'
elif a == b:
print 'a is equal to b'