第三段代码中if语句是怎么比较字符串大小的?
print('第一种') for x in range(1,9): for y in range(x+1,10): print(str(x) + str(y)) print('第二种') for x in range(1,9): for y in range(1,10): if x < y: print(x*10 + y) print('第三种') for x in['1','2','3','4','5','6','7','8']: for y in ['1','2','3','4','5','6','7','8','9']: if x < y:#这里的字符串是如何比较大小的? print(x+y) print('第四种') for x in[1,2,3,4,5,6,7,8]: for y in [1,2,3,4,5,6,7,8,9]: if x < y: print(x*10+y)