Hello
I am working through a purchased text book Python programming for beginners.
Chapter two shows how to create a basic program using triple-quoted strings.
I am having problems working out what I have done incorrectly. The game over
block writing should stay on the same line but the bottom half of the word
over comes up next to the top half of the word over. Hope that makes sense.
My code is as follows:
# 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(
"""
_____ ____ __ __ _____
/ ____| / | / |/ | | ___|
| | / / | | / /| / | | |__
| | _ / ____ | / / |__/| | | __|
| |_| | / / | | / / | | | |___
\_____/ /_/ |_| /_/ |_| |_____|
____ _ _ _____ _____
/ __ \ | | / / | ___| | _ \
|| || | | / / | |__ | |_| |
|| || | | / / | __| | _ /
||__|| | |/ / | |___ | | \ \
\____/ |___/ |_____| |_| \_\
"""
)
input("\n\nPress the enter key to exit.")
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor