if 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
为什么就出错呢?不应该是11,22,33,44这类数么?
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
为什么就出错呢?不应该是11,22,33,44这类数么?
2018-05-06
举报