这样也对???
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:
print x+y
严格来说看起来像对的,但字符串还是字符串,不是数字,人打分的话会扣分吧?
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:
print x+y
严格来说看起来像对的,但字符串还是字符串,不是数字,人打分的话会扣分吧?
2015-07-07
举报