使用while循环输入123456 8910

num = 0
while num < 10:
    num += 1
    if num == 7:
        continue
    else: print(num)

无空格无7改良版

num = 0
while num < 10:
    num += 1
    if num == 7:
        print(" ")
    else:
        print(num)

使用while循环输入123456 8910

posted @ 2018-11-21 13:12  20181235  阅读(394)  评论(0编辑  收藏  举报