Commit cd40b5cc by BellCodeEditor

save project

parent 05e7d622
Showing with 25 additions and 0 deletions
import func
fune new_input()
zf=input('选手分数')
zf.new_input()
\ No newline at end of file
def new_input(j):
total = []
while True:
c=int(input("请输入价格"))
if c=="p":
break
else:
try:
int(c)
except:
print("请输入数字噢")
else:
total.append(c)
j=0
for i in total:
total=j+i
x = return total
print(x)
new_input('一共支付'+j+'元!请问是扫码还是现金呢')
\ 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