Commit 1a38d5e6 by BellCodeEditor

auto save

parent 6e1cf790
Showing with 21 additions and 6 deletions
a=['huaxun'] '''
\ No newline at end of file #正三角
def mn(j):
m=30
i=1
while i<j:
print(""*m,"*"*i)
i=i+2
m=m-1
mn(15)
#倒三角
def mn(i):
m=0
while i>0:
print(""*m,"*"*i)
i=i-2
m=m+1
mn(15)
'''
\ No newline at end of file
i=1
for j in range:
print(j,"x",i,"=",(i*j),end=' ')
\ 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