[Tutor] Python information

Guillermo Fernandez guillermo.fernandez@epfl.ch
Mon, 05 Aug 2002 16:45:48 +0930


> and the lines to :
> 
>         choice = input("Which type of monster would you like to watch?")
>         num = input("Specify the number of turns the monster should
> take: ")
>         monster = monsters[choice-1]
> 
> into:
> 
>         choice = input("Which type of monster would you like to
> watch?")#-1
>         num = input("Specify the number of turns the monster should
> take: ")
>         monster = monsters[choice]



Sorry... from all evidence it's exactly the oposite...


Lines 336 to 338:
        choice = input("Which type of monster would you like to
watch?")#-1
        num = input("Specify the number of turns the monster should
take: ")
        monster = monsters[choice]
into:
        choice = input("Which type of monster would you like to
watch?")
        num = input("Specify the number of turns the monster should
take: ")
        monster = monsters[choice-1]

Guille