最新回答 / 杭州李乾坤
python3
print([x * 100 + y * 10 + z for x in range(1, 10) for y in range(0, 10) for z in range(0, 10) if x == z])
2019-09-08
最新回答 / qq_旧时光_29
s=('Python was started in 1989 by "Guido".\nPython is free and easy to learn.') print(s)print需要换行
2019-09-07
最赞回答 / 慕婉清3455610
for x in [ 1,2,3,4,5,6,7,8,9 ]: for y in [ 1,2,3,4,5,6,7,8,9 ]: while x<y: print str(x)+str(y) break不打断永远都在死循环
2019-09-05