0 Comments
total = 0
nums = 0
while total <= 100:
num = int(input("Enter a number: "))
nums += 1
total += num
print("Sum: {}".format(total))
print("Numbers Entered: {}".format(nums))
I hope this helps!
9.4m questions
12.2m answers