为什么答案里面要加10?
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 + y
为什么要在答案里面,print 10*x +y,要加个10呢?按我上面的输入也是正常的啊
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 + y
为什么要在答案里面,print 10*x +y,要加个10呢?按我上面的输入也是正常的啊
2016-03-28
举报