Here's a cute little exercise that shouldn't take too long to solve:
Given a capital letter (A .. Z) print a diamond starting with 'A' with the supplied letter at the widest point.
For example:
Given a capital letter (A .. Z) print a diamond starting with 'A' with the supplied letter at the widest point.
For example:
>>> print diamond ('E')
A
B B
C C
D D
E E
D D
C C
B B
A
>>> print diamond ('C')
A
B B
C C
B B
A