输出0到100之间的奇数

a=[i for i in range(0,101) if i%2!=0]
print(a)

猜你喜欢

转载自blog.csdn.net/YPL_ZML/article/details/87885193
今日推荐