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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!