Commit 3ad298d7 by BellCodeEditor

save project

parent dc70412a
Showing with 13 additions and 0 deletions
def func():
x = int(input("输入一个数"))
y = int(input("输入另一个数"))
return x*y
print(func())
s= [12,2,34,67,48]
def sum(toal):
a = 0
for i in toal:
a = a+ i
return a
print(sum(s))
\ 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