Run ID:68904

提交时间:2024-03-27 21:51:54

def sum(a,b): c = 0 for x in range(a,b+1): c = c + x print(c) sum(1,10) sum(20,30) sum(35,45)