[Tutor] Fwd: Python skipping if statement (Really simple code)

Sotiris Tsartsaris tsartsaris at gmail.com
Sat Apr 16 23:50:44 CEST 2011


this


    proceed = input(int("Do you want to see Renees hate in form of a
> picture? "))
>     if proceed == "yes":
>
>

should be

  proceed = input("Do you want to see Renees hate in form of a picture? ")
    if proceed == "yes":

cause you are checking for a yes or no but you convert the input of the user
to an integer.

nice drawings by the way

-- 
Tsartsaris Sotirios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110417/99b2ea96/attachment.html>


More information about the Tutor mailing list