Life is but a dream.

大栗出奇迹

自律

输出1 2 3 4 5 6 8 9 10

 1 #! /usr/bin/env python3
 2 # -*- coding:utf-8 -*-
 3 
 4 # 使用while循环输入1 2 3 4 5 6  8  9 10
 5 
 6 count = 1
 7 
 8 while count < 11:
 9     if count == 7:
10         print(" ")
11     else:
12         print(count)
13     count += 1

 

posted @ 2021-09-16 17:43  大栗出奇迹  阅读(154)  评论(0编辑  收藏  举报