En Tue, 13 Mar 2007 08:31:17 -0300, Bruno Desthuilliers
<[EMAIL PROTECTED]> escribió:
> Obviously, the OP is not trying to cheat (explicitelt
> aknowledging it is homework), and has a good enough understanding of
> what the usual solution is (asking for the escape char in Python).
>
> Now of cou
Goldfish a écrit :
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> Don't post homework questions.
>
Given the way the question was expressed, I don't think this particular
rule applies here. Obviously, the OP is not trying to cheat (explicitelt
aknowledging it is homework), and has a g
On Mon, 12 Mar 2007 05:40:44 -0700, MonkeeSage wrote:
> HeEm wrote:
>> In my 100 level CS course, I was asked to create multiple lines of
>> output within a single string. Of course I know how to:
>
> If this is for a CS course, you shouldn't really be cheating and
> asking for an answer here, s
http://www.catb.org/~esr/faqs/smart-questions.html
Don't post homework questions.
--
http://mail.python.org/mailman/listinfo/python-list
HeEm wrote:
> In my 100 level CS course, I was asked to create multiple lines of
> output within a single string. Of course I know how to:
If this is for a CS course, you shouldn't really be cheating and
asking for an answer here, should you? I mean, the whole point of
taking (and paying for!) a
HeEm wrote:
> In my 100 level CS course, I was asked to create multiple lines of
> output within a single string. Of course I know how to:
>
> print "I am"
> print "a python"
> print "newbie."
>
> How can I get this accomplished using a single string (assuming this
> means a one line statement)