Question: Write a program called 'message frame.py to draw a frame (made of the characters +, -, and '1') around a message that has been
Write a program called 'message frame.py to draw a frame (made of the characters +, -, and '1') around a message that has been repeated on consecutive lines. There is a space before and after the message, and no spaces between concentric boxes. Sample 10 (The input from the user is shown in bold font- do not program this): Enter the message: Hello World Enter the message repeat count: 3 Enter the frame thickness: 2 |+ Hello World | Hello World || || Hello World || Sample 10 (The input from the user is shown in bold font-do not program this); Enter the message: I Love UCT Enter the message repeat count: 4 Enter the frame thickness: 6 I Love UCI I Love UCI I Love UCT I Love UCT Sample 10 (The input from the user is shown in bold font- do not program Enter the message: Programming is fun! Enter the message repeat count: 8 Enter the frame thickness: 8 Programming is fun! Programming is fun! Programming is fun! Programming is fun! Programming is fun! Programming is fun! : Programming is fun! I Programming is fun!
Step by Step Solution
3.50 Rating (153 Votes )
There are 3 Steps involved in it
The question is asking you to write a Python program that will draw a frame around a message that has been repeated on consecutive lines The frame sho... View full answer
Get step-by-step solutions from verified subject matter experts
