作业小练习(使用while循环输入 1 2 3 4 5 6 8 9 10)

1、使用while循环输入 1 2 3 4 5 6 8 9 10

b= 0
while True:
    b +=1

    if b==7:
        continue
    if b> 10:
        break

    print(b)

原文地址:https://www.cnblogs.com/PYlog/p/8578765.html