추가 '별(*) 생성기'

This commit is contained in:
kim_yubin 2018-10-28 12:32:18 +09:00
parent 3cef25be25
commit 56bbea4b7d
1 changed files with 11 additions and 0 deletions

11
별(*) 생성기 Normal file
View File

@ -0,0 +1,11 @@
a=int(input("초기 '*'을 정하십시오. : "))
b=0
c="*"*a
t=0
while t<a:
d=' '
d=d*t
print(d+c[b:])
t+=1
b+=1