Hỏi đáp
Chia sẻ kiến thức, cùng nhau phát triển
a = input()
b = input()
try:
s1 = int(a)
s2 = int(b)
if s1 == s2:
print('Bạn {} bằng bạn {}'.format(s1, s2))
elif s1 > s2:
print('Bạn {} cao hơn bạn {}'.format(s1, s2))
elif s1 < s2:
print('Bạn {} thấp hơn bạn {}'.format(s1, s2))
except:
print('không hợp lệ')