[Tutor] Fwd: Learning python using Michael Dawson's book

Luke Paireepinart rabidpoobear at gmail.com
Tue May 18 05:14:24 CEST 2010


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:
___    __       __
|    |    |    |     |    |
|    |__|    |     |    |
|    __     |      |    |
|    |    |    |     |    |
|__|    |__|     |__|





On 5/17/2010 9:54 AM, Luke Paireepinart wrote:
> I don't see any printing of dashes whatsoever.
> can you explain in more detail what output you're getting, how it's
> different from what you expected, and why you think that happened?
>
> On 5/17/10, Peter<cyclespoke at windstream.net>  wrote:
>
>> Hello,
>> I am at the very beginning of learning Python. If anyone is familiar
>> with Michael Dawson's book: "Python Programming for the Absolute Beginner"
>> The following script (according to the book) should create "block
>> lettering" created by dashes and vertical lines. If I could show a
>> picture of it I would. I do not get the same result as the book.
>> Thank you for any input.
>> Peter
>>
>>
>> The script goes like this:
>>
>> ---------------------------------------------------------------
>>
>> #Game Over- Version 2
>> #Demonstrates the use of quotes in strings
>>
>> print("Program 'Game Over' 2.0")
>>
>> print("Same", "message", "as before")
>>
>> print("Just",
>>           "a bit",
>>           "bigger")
>>
>> print("Here", end=" ")
>> print("it is...")
>>
>> print(
>>              """
>>              """
>>          )
>>
>> _______________________________________________
>> Tutor maillist  -  Tutor at python.org
>> To unsubscribe or change subscription options:
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>
>

-- 
Sent from my mobile device


More information about the Tutor mailing list