练习题 - 图形

#-*-coding:utf-8-*-

# 使用while,完成以下图形的输出
#
# *
# * *
# * * *
# * * * *
# * * * * *
# * * * *
# * * *
# * *
# *

# count = 1
# num = 4
# while True:
# if count > 5:
# print('*' * num)
# num -= 1
# if num < 1:
# break
# else:
# print('*' * count)
# count += 1
posted @ 2019-05-14 15:21  Jelly的铲屎官  阅读(87)  评论(0编辑  收藏  举报