"administrata" wrote:
>> Oh: from the subject line, I'm guessing that you want it to say "John
>> used to love pizza" instead? In that case, try doing this:
>>
>> I = "John"
>> print "%s used to love pizza" % I
>
> How can I do it with several variables?
>
> About 10 or more...
two:
print I,
Leif K-Brooks <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> administrata wrote:
> > Is it possible?
> >
> > I tried...
> >
> > I = "John"
> > print \
> > """
> > I used to love pizza"""
> >
> >
> > Error occurs!!!
>
> No error occurs; it prints "I used to love pizza", as
Michael Hoffman wrote:
This is a fairly friendly group and they will answer even
newbie questions amicably.
Albeit with the occasional pointed comment about not at least skimming the
tutorial when it covers the question asked ;)
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisban
You know, it's really not necessary for you to put "[NooB]" in the subject
of your posts. This is a fairly friendly group and they will answer even
newbie questions amicably. But if you want an even kinder, gentler place to
ask questions as a newbie (not a noob), I suggest the Tutor mailing list:
h
administrata wrote:
Is it possible?
I tried...
I = "John"
print \
"""
I used to love pizza"""
Error occurs!!!
No error occurs; it prints "I used to love pizza", as would be expected.
Oh: from the subject line, I'm guessing that you want it to say "John
used to love pizza" instead? In that case,
It's OK for me
@-salutations
--
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Is it possible?
I tried...
I = "John"
print \
"""
I used to love pizza"""
Error occurs!!!
But, I don't know how to fix... HELP
thx 4 reading.
--
http://mail.python.org/mailman/listinfo/python-list