Commit b03825f0 by BellCodeEditor

save project

parent fc646f06
def func(): def func1():
total = [] total = []
while True: while True:
try: try:
...@@ -19,6 +19,6 @@ def sum(x): ...@@ -19,6 +19,6 @@ def sum(x):
count=count+i count=count+i
return count return count
a=func() #a=func()
jiage=sum(a) #jiage=sum(a)
print("总共:"+str(jiage)+"亿元") #print("总共:"+str(jiage)+"亿元")
\ No newline at end of file \ No newline at end of file
import func
a=func.func1()
print(a)
zongshu=func.sum(a)
print("总分是:-"+str(zongshu))
\ 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