Commit 4a9b5279 by BellCodeEditor

save project

parent 97922f5a
Showing with 8 additions and 5 deletions
for i in range(1,10): def sun_numbers(num):
for j in range(1,i+1): if num==1:
print(j, '*',i,'=',(j*i),end=" ") return 1
print() temp=sun_numbers(num-1)
return num+temp
result=sun_numbers(100)
print(result)
\ 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