Commit e5d7b92d by BellCodeEditor

save project

parent e1361eff
Showing with 18 additions and 4 deletions
import func
a=func.add()
print(a)
\ No newline at end of file
#try:
# age=int(nput("你今年几岁?"))
#except:
# print("要输入整数啊")
#else:
# if age<18:
# print("不可以喝酒哦")
#print("程序结束~~")
#def add(x,y):
# c=x+y
# return c
#a=add(9,5)
#print(a)
price=[15,18,14,25]
count=0
for i in price:
count=count+i
print(count)
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