Word Frame (ECOO 2011)

From http://ecoocs.org/contests/ecoo_2011.pdf, complete the Word Frame challenge, as pictured below. 

MODIFICATION: Instead of reading from a data file, enter the word at the top of your program as a variable "word".

(click to enlarge)

Tip: In Python, s[::-1] will reverse a string.
Comments