RAW_INPUT

Fredrik Lundh fredrik at pythonware.com
Mon Nov 7 12:26:58 EST 2005


"A D" <gs2luv at line72.net> wrote:

>> print "You may pass,", s
>
> at this print line you need to do
> print "you may pass, %s" % s
>
> this will allow you to enter the string s into the output sentence

where did you buy your python license ?

    >>> s = "josh"
    >>> print "hello,", s
    hello, josh
    >>> print "hello, %s" % s
    hello, josh

</F> 






More information about the Python-list mailing list