Question: Horizontal text is boring, and it looks so naked without a box around it! Your task is to write a program which accepts a line
Horizontal text is boring, and it looks so naked without a box around it! Your task is to write a program which accepts a line of input text from the user and displays it vertically with a box around it. The box should use - for horizontal borders, | for vertical borders, and + for corners. There should also be a space before and after each letter of the text. For example, if the user types ABC then the output should be: +---+ | A | | B | | C | +---+ The user input can be of any length, so make sure that you use iteration appropriately to print the correct number of lines. using Python to solve this question without using a function
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
