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!
5.3m questions
6.9m answers