D
dnwurtz
I am trying to get a program to add up input from the user to get to
the number 100 using a loop. However, I am having some issues. Here
is what I have so far. I know I am just trying to hard, but I am
stuck. Thank you for any help.
print "We need to count to 100"
high_number = 100
total = 0
number = input("Enter your first number ")
sum = number + total
while sum < high_number:
print "Not there yet..."
number = input("Enter another number ")
print "We are there!!!"
the number 100 using a loop. However, I am having some issues. Here
is what I have so far. I know I am just trying to hard, but I am
stuck. Thank you for any help.
print "We need to count to 100"
high_number = 100
total = 0
number = input("Enter your first number ")
sum = number + total
while sum < high_number:
print "Not there yet..."
number = input("Enter another number ")
print "We are there!!!"