Answer:
Step-by-step explanation:
def running_sum():
num = int(input("Enter a number: "))
limit = int(input("Enter a limit: "))
sum = num
while sum < limit or sum == limit:
number = int(input("Enter another number: ")
sum+=num
if sum==limit:
print(sum)