Question: Needs to be in Python Printing a box of characters Your task here is to write a program in Python to will prompt user to

Needs to be in Python

Printing a box of characters

Your task here is to write a program in Python to will prompt user to enter an integer between 10 and 3 inclusive and also a character. Then use these two values to display a box using the character entered with size of box determined by the number entered.

Here is a sample output:

Enter size of box: 4

Enter a character: %

%%%%

%%%%

%%%%

%%%%

Here is another possible output:

Enter size of box: 3

Enter a character: &

&&&

&&&

&&&

Your program will run only once but you must used repetition construct to draw the box using values entered.

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!