Commit 87d0f2a5 by BellCodeEditor

auto save

parent a7f3c899
Showing with 9 additions and 1 deletions
def yyy1145141919810(): def yyy1145141919810():
r=0 r=[]
while True: while True:
op=input("输入(p结束)") op=input("输入(p结束)")
if op=="p": if op=="p":
...@@ -16,3 +16,11 @@ def yyy1145141919810(): ...@@ -16,3 +16,11 @@ def yyy1145141919810():
return r return r
asd=yyy1145141919810() asd=yyy1145141919810()
print(asd) print(asd)
def h(r):
d=0
for i in r:
d+=1
return d
pwi=yyy1145141919810()
ghj=sum(pwi)
print(str(ghj)+"元")
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