Re: the button of cancel

2005-11-13 Thread Ben Bush
On 11/13/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: Ben Bush wrote:> When I click the button of cancel,> I got the follwoing message. I want to see "Goodbye" on the console screen. > What to do?> KeyboardInterrupt: operation cancelled> num = input( "Enter a number between 1 and 100: " )> while n

Re: the button of cancel

2005-11-13 Thread Fredrik Lundh
Ben Bush wrote: > When I click the button of cancel, > I got the follwoing message. I want to see "Goodbye" on the console screen. > What to do? > KeyboardInterrupt: operation cancelled > num = input( "Enter a number between 1 and 100: " ) > while num < 1 or num > 100: >print "Oops, your inp