Rÿe9veillÿe9 wrote:
Hello,
I have just started doing the python tutorials and i
tried to modify one of the exercises, it has to to
with defining functions.
I wanted the user to be able to enter an option and
then get a print of the selected option. I also wanted
to have an exit for the us
Rÿe9veillÿe9 wrote:
Hello,
I have just started doing the python tutorials and i
tried to modify one of the exercises, it has to to
with defining functions.
I wanted the user to be able to enter an option and
then get a print of the selected option. I also wanted
to have an exit for the us
On Mon, 27 Dec 2004 08:15:51 -0800, Rÿe9veillÿe9 wrote:
> The problem is that it doesnt print the
>
> [ choice = input ('Pick a number:') ]
>
> command. It just runs thru the whole thing without
> allowing the user a selection.
Are you running it from the command line ? Some editors do
Title: RE: Tutorial problem
[Rÿe9veillÿe9]
#- The problem is that it doesnt print the
#-
#- [ choice = input ('Pick a number:') ]
#-
#- command. It just runs thru the whole thing without
#- allowing the user a selection.
Are you sure? It should raise a NameErrorin