Re: [Tutor] Is this overkill?

2006-01-27 Thread Alan Gauld
Catherine > I've spend some time going throught the many available turorials, but find > it hard to get good exercises to try out what you learn. Most tutorials do have a few suggested exercises but the best way is to take the examples they give and modify them to see what happens. The reason for

Re: [Tutor] Is this overkill?

2006-01-26 Thread catherine curley
Bradly   I'm new to python also.  Have you come across any good exercises that a beginner try.   I've spend some time going throught the many available turorials, but find it hard to get good exercises to try out what you learn.   Catherine  On 1/21/06, Bradly McConnell <[EMAIL PROTECTED]> wrote: G

Re: [Tutor] Is this overkill?

2006-01-21 Thread Python
On Sat, 2006-01-21 at 10:09 -0500, Bradly McConnell wrote: > 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:

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: ") > >

Re: [Tutor] Is this overkill?

2006-01-21 Thread Alan Gauld
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: ") you can just 'continue' here since the while loop asks for a

[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