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

11 lines
211 B
Python
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
#!/usr/bin/env python
2015-11-18 06:14:39 +00:00
a = input('Enter value of a: ')
b = input('Enter value of b: ')
2013-04-10 21:29:02 -07:00
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'