[Tutor] banners

Bob Gailer bgailer at alum.rpi.edu
Wed Aug 23 19:28:59 CEST 2006


charmap = """
  A   BBB    CCC   DDDD   etc...
 A A  B  B  C   C  D   D
A   A BBB   C      D   D
AAAAA B  B  C   C  D   D

Which lets you enter each letter the way you want it to look. No need to 
laboriously translate that by hand into tuples. Let the computer do that 
for you. So now the challenge is to write the Python program that does 
that translation for you.

Also consider what happens when the small letters that form the large 
letters are not the same as the letter they form:

SSSS  P   P AAAAA M   M  etc...
S   S  P P    A   M   M
SSSS    P     A   MMMMM
S       P     A   M   M
S       P     A   M   M

Bob Gailer

More information about the Tutor mailing list