Commit 6fbfbde4 by BellCodeEditor

save project

parent 67f56c4b
def func():
total = []
while True:
money= input("请输入:")
if money=='p':
break
else:
try:
money=int(money)
except:
print("输入正确价格")
print(total)
func()
print("最终的价格为"+i+"元")
\ No newline at end of file
import func
score=func.new_input()
print(score)
\ 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