Re: [Tutor] Is this overkill?

2006-01-21 Thread Bradly McConnell
On 1/21/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > number = input("Please enter a number: ") > while number != 100: > additional_number = input("Please enter an additional number: ") > if additional_number + number > 100: > lower_number = input("please enter a lower number: ") > >

[Tutor] Is this overkill?

2006-01-20 Thread Bradly McConnell
Greetings all: I'm new to Python, and have come across and exercise that basically counts to 100. The idea is to accept user input for an initial number, and then let the user add additional numbers. I wanted to give feedback if a number selected would bring the total above 100, so the user woul