start = 1
while True:
if start == 7:
start += 1
continue
print(start)
start += 1
if start == 11:
break
start = 1
while True:
if start == 7:
start += 1
continue
print(start)
start += 1
if start == 11:
break
01 使用while 循环输入1 2 3 4 5 6 8 9 10
原文:https://www.cnblogs.com/wssaried/p/9785574.html