ha ha...good point. I didn't realize that you could run it all
together. I guess the "single string" part should have been a tip off.
Anyway, more questions to come soon. Thanks everyone!
--
http://mail.python.org/mailman/listinfo/python-list
Alex Pavluck enlightened us with:
> Q: As an exercise, write a single string that:
> Procuces
>this
>output.
>
>
> A?
> print "produces",'\n',"\t","this","\n","\t","output."
Just nitpicking, since you already got your answer, but that's not a
s
Alex Pavluck wrote:
> I am just learning Python and I am using the book, "Thinking like a
> Computer Scientist". There is an exercise that I am not able to get
> working and it is really easy so I thought I would ask for help here.
>
>
> Q: As an exercise, write a single string that:
> Procu
Sorry, I just realized that if I run it as a script it just drops a
line and doesn't tab but if I run it from the shell it outputs
perfectly. Thanks for the help.
--
http://mail.python.org/mailman/listinfo/python-list
Alex Pavluck wrote:
> I am just learning Python and I am using the book, "Thinking like a
> Computer Scientist". There is an exercise that I am not able to get
> working and it is really easy so I thought I would ask for help here.
>
>
> Q: As an exercise, write a single string that:
> Procu
I am just learning Python and I am using the book, "Thinking like a
Computer Scientist". There is an exercise that I am not able to get
working and it is really easy so I thought I would ask for help here.
Q: As an exercise, write a single string that:
Procuces
this