Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 282 Bytes

TextFrame.md

File metadata and controls

17 lines (12 loc) · 282 Bytes

Text Frame

Write a function that takes a list of strings an prints them, one per line, in a rectangular frame.

Example Input

"Hello World in a frame"

Output

*********
* Hello *
* World *
* in    *
* a     *
* frame *
*********