python练习题

python练习题

1
2
3
4
5
6
7
8
a = [random.randint(10,99) for i in range(10)]
b = []
for item in a:
if(item%2==0):
continue
else:
b.append(item)
print(b)

-------------本文结束,感谢您的阅读-------------