Commit 79bd05dc by BellCodeEditor

auto save

parent 05e7d622
import func
a=func.
b=func.aum(a)
print(b)
\ No newline at end of file
def x():
total = []
while True:
input("请输入单价:(按'p'退出)")
if y=="p":
break
else:
try:
y=int(y)
except:
print("请输入整数")
else:
total.append(y)
#print("程序结束")
return total
totai=total
def l(total):
aum=0
for i in total:
aum=aum+1
print(aum)
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