Commit e7686438 by BellCodeEditor

save project

parent 05e7d622
price=[95,98,94,95]
def sum(money):
count=0
for i in price:
count=count+i
return count
result=sum(price[0])
#print(result)
try:
def new_input():
total = []
except:
while True:
unit= input("请输入:")
else:
if unit== 'q':
break
else:
total.append(unit)
print(total)
return total
print(total[0])
\ No newline at end of file
import ababa
data=ababa.result
guma=ababa.sum(data)
print("评分是"+str(guma))
\ 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