Python3 代码
s1i = input()
s2i = input()
s1 = list(map(str.lower, s1i))
s2 = list(map(str.lower, s2i))
n = len(s1)
if n > len(s2):
n = len(s2)
s = True
for i in range (n):
if s1[i] > s2[i]:
s = False
print (">")
break
elif s1[i] < s2[i]:
s = False
print ("<")
break
if s:
if len(s1) == len(s2):
print ("=")
elif len(s1) < len(s2):
print ("<")
else:
print (">")