Commit ccccd646 by BellCodeEditor

save project

parent adcbf3cf
Showing with 10 additions and 5 deletions
def new_input(): def new_input(w):
while True: while True:
total = [] total = []
unit= input("请输入:") unit= input("请输入:")
...@@ -14,5 +13,11 @@ def new_input(): ...@@ -14,5 +13,11 @@ def new_input():
total.append(unit) total.append(unit)
print("——"*30) print("——"*30)
return total return total
www()=new_input() def a_q(qs):
print(www) cf=0
\ No newline at end of file for i in qs:
cf=cf+i
return cf
www() = new_input()
qw=www(a_q)
print(qw)
\ 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