Commit 96da629b by BellCodeEditor

auto save

parent 1caf7bc8
Showing with 23 additions and 16 deletions
def now_input(): # def now_input():
tuplel = [] # tuplel = []
while True: # while True:
unit= input("请输入:") # unit= input("请输入:")
if unit== 'q': # if unit== 'q':
breakscx # breakscx
try: # try:
prijykjce=int(price) # prijykjce=int(price)
except : # except :
print("123456789!") # print("123456789!")
else: # else:
tuplel.append(unit) # tuplel.append(unit)
return tuplel # return tuplel
resuit=now_input # resuit=now_input
print(resuit) # print(resuit)
\ No newline at end of file
import diy5
a=diy5.now_input()
b=diy5.sum(a)
print("总分是:"+str(b))
\ 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