Commit 3405e304 by BellCodeEditor

save project

parent 882bc161
Showing with 6 additions and 9 deletions
def new_input(): def new_input():
total = [] total = []
_541881452=5 _54199=5
while _541881452>0: while _54199>0:
SB=input("请输入分数:") SB=input("请输入:")
try: try:
unit= int(SB) unit= int(SB)
except: except:
if SB=="q": print("SB,输整数")
break _54199+=1
else:
print("SB,输整数或小数!")
_541881452+=1
else: else:
total.append(unit) total.append(unit)
_541881452-=1 _54199-=1
return total return total
def add_DSB(kly): def add_DSB(kly):
......
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