Commit 74ce395e by BellCodeEditor

save project

parent e1c0ac70
...@@ -21,5 +21,5 @@ def str(a): ...@@ -21,5 +21,5 @@ def str(a):
strl=strl+i strl=strl+i
return strl return strl
print(str(a)) print(str(a))
de
\ No newline at end of file
import+def a(): import func
total = [] w=func.a()
while True: q=func.str(w)
unit= input("请输入:") q
\ No newline at end of file
if unit== 'q':
break
else:
try:
unit=int(unit)
except:
print("cw")
else:
total.append(unit)
return total
a=a()
print(a)
def str(a):
strl=0
for i in a:
strl=strl+i
return strl
print(str(a))
\ 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