numbersTaken = [2, 5, 12, 13, 17]
print("Here are the numbers that are still available:")
for n in range(1, 20):
if n in numbersTaken:
continue # skip anything after this and go to the next repetition
print(n)
numbersTaken = [2, 5, 12, 13, 17]
print("Here are the numbers that are still available:")
for n in range(1, 20):
if n in numbersTaken:
continue # skip anything after this and go to the next repetition
print(n)
本文标题:Python 11 Programming Tutorial
本文链接:https://www.haomeiwen.com/subject/cyaxettx.html
网友评论