As a practice exercise, I am trying to get five numbers from a user and return the sum of all five number using a while loop. I managed to gather the five numbers, but the
x = 0 s = 0 while x < 5: x += 1 s += (int(raw_input("Enter a number: "))) print s