Question: Please help me solve this question. I have done so far. Guide me if I am in the right direction? user_input1 = input(Enter a name:

Please help me solve this question. I have done so far. Guide me if I am in the right direction?
user_input1 = input("Enter a name: ") user_input2 = input("Enter the length of the box: ") gap = user_input2 print("Display the name in a box:") print("-"*int(user_input2)) print("-" + user_input1, end="-") print() print("-"*int(user_input2))
Ask the user to enter a name and the length of the box. Then display the name in the box exactly like the following example. For example: Input Result frog Enter a name: frog 15 Enter the length of the box: 15 Display the name in a box: - frog
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
