[Tutor] Learning python using Michael Dawson's book

Luke Paireepinart rabidpoobear at gmail.com
Mon May 17 15:54:15 CEST 2010


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