Commit 4402ab60 by BellCodeEditor

save project

parent b7498cbe
Showing with 9 additions and 0 deletions
#print(" *\n ***\n*****")
a=int(input('输入行数:'))
for i in range(a+1):
print(" "*(a-i)+"*"*(2*i-1)
\ No newline at end of file
a=int(input('输入行数:'))
for i in range(a+1):
print(" "*(a-i)+"*"*(2*i-1))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment