两段代码结果一样。第一个是我自己的,但是提交不给过。第一个代码可以吗?
for x in ['1','2','3','4','5','6','7','8','9']:
for y in [ '1','2','3','4','5','6','7','8','9' ]:
if x>=y :
continue
print x+y
for x in [1, 2, 3, 4, 5, 6, 7, 8, 9]:
for y in [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]:
if x < y:
print x * 10 + y