[Tutor] Fwd: Learning python using Michael Dawson's book
Andre Engels
andreengels at gmail.com
Wed May 19 09:38:34 CEST 2010
On Tue, May 18, 2010 at 5:14 AM, Luke Paireepinart
<rabidpoobear at gmail.com> wrote:
> Forwarding. Peter use reply-all don't reply offlist please.
>
> ---------- Forwarded message ----------
> From: Peter <cyclespoke at windstream.net>
> Date: Mon, 17 May 2010 10:08:47 -0400
> Subject: Re: [Tutor] Learning python using Michael Dawson's book
> To: Luke Paireepinart <rabidpoobear at gmail.com>
>
> Hi,
> The result in the book has lettering like the following:
> ___ __ __
> | | | | | |
> | |__| | | |
> | __ | | |
> | | | | | |
> |__| |__| |__|
Well, that's definitely not what the code would be producing, nor does
it seem to be related to what the example claims to be doing...
Perhaps instead of
print(
"""
"""
)
which is a very strange idiom (though valid), you should write:
print(
"""
___ __ __
| | | | | |
| |__| | | |
| __ | | |
| | | | | |
|__| |__| |__|
"""
)
or perhaps you are looking at one example and the explanation of another?
--
André Engels, andreengels at gmail.com
More information about the Tutor
mailing list