LearnPy Hub
← Introduction & print() problems
Medium

Name in a Box

Read a word and print it inside a box of # characters: a top and bottom line of #, and the middle line # word #.

Input

One word.

Output

Three lines.

Sample 1

Input
Python
Output
##########
# Python #
##########

Sample 2

Input
Hi
Output
######
# Hi #
######
solution.py
Output appears here
Name in a Box · Python practice problem · LearnPy Hub