[Tutor] Printing multi-line variables horizontally

emile emile at fenx.com
Fri Aug 8 19:58:28 CEST 2014


On 08/08/2014 01:50 AM, Greg Markham wrote:
>
>
> die_1 = """
> .-----.
> |     |
> |  o  |
> |     |
> `-----'"""
>
> die_2 = """
> .-----.
> |o    |
> |     |
> |    o|
> `-----'"""


I'll leave the cleanup as an exercise for you.

HTH,

Emile




More information about the Tutor mailing list