[Tutor] Potential problem with Game Over 2.0 problem in "Python Programming for the Absolute Beginner, 3rd Ed."

boB Stepp robertvstepp at gmail.com
Tue Feb 17 22:22:49 CET 2015


On Tue, Feb 17, 2015 at 3:05 PM, boB Stepp <robertvstepp at gmail.com> wrote:
> This seems to be the case. On a related note, I wanted to copy and
> paste the author's source code, showing how he generated the large,
> "Game Over", but my Gmail keeps collapsing the white space, making the
> result look like gibberish. So far I cannot find a setting to
> eliminate this undesired behavior. Argh!
​
​I have found the problem. During some previous update or other
Google-induced behavior, all of the work I did to have a specific
fixed-width ​font with an extension has apparently been undone. Anyway,
here is the snippet of the author's source code that I had intended to send
earlier:

​
print(
        """
         _____       ___       ___  ___   _____
        /  ___|     /   |     /   |/   | |  ___|
        | |        / /| |    / /|   /| | | |__
        | |  _    / ___ |   / / |__/ | | |  __|
        | |_| |  / /  | |  / /       | | | |___
        \_____/ /_/   |_| /_/        |_| |_____|

         _____   _     _   _____   _____
        /  _  \ | |   / / |  ___| |  _  \
        | | | | | |  / /  | |__   | |_| |
        | | | | | | / /   |  __|  |  _  /
        | |_| | | |/ /    | |___  | | \ \
        \_____/ |___/     |_____| |_|  \_\

        """
     )
​




-- 
boB


More information about the Tutor mailing list