Commit e87594ef by BellCodeEditor

save project

parent 1908b6f2
Showing with 26 additions and 0 deletions
# def qiuhe(a):
# sum=0
# for i in range(1,a+1):
# sum+=i
# print(sum)
# qiuhe()
# def oushu(a):
# for i in range(0,a+1,2):
# print(i)
# oushu(100)
def qiuhe(a,b):
sum=0
for i in range(a,b+1):
sum+=i
print(sum)
qiuhe(1,200)
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