Commit c6c4fa91 by BellCodeEditor

save project

parent 818bebd7
Showing with 7 additions and 3 deletions
...@@ -12,11 +12,11 @@ def ppp_k() : ...@@ -12,11 +12,11 @@ def ppp_k() :
else: else:
total.append(unit) total.append(unit)
finally: finally:
print("-"*30) print("-"*70)
return total return total
def sum(5418): def sum(pnk):
count = 0 count = 0
for i in 5418: for i in pnk:
count = count + i count = count + i
return count return count
price = ppp_k() price = ppp_k()
......
import func
data = func.ppp_k()
score = func.sum(data)
print("你吃吃拉丝糖拉拉稀:"+str(score))
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