Commit 375f56c1 by BellCodeEditor

save project

parent 1bf6786e
Showing with 15 additions and 20 deletions
#total = [] def caidan():
#def caidan(): total=[]
# while True: while True:
# unit= input("请输入:") unit= input("请输入价格")
# if unit== 'q': if unit=='q':
# break break
# else: else:
# total.append(unit) try:
#caidan() unit=int(unit)
#print(total) except:
#try: continue
# a=input("请输入") total.append(unit)
# b=a/2 return total
#except: print(caidan())
# a=int(input("请重新输入")) \ No newline at end of file
# print(a/2)
def add(a,b):
return a+b
print(add(1,2))
\ 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