Question: using for loops, 1) ask the user to enter a number from 1 to 20 2) without having a print statement to print the entire
using for loops,
1) ask the user to enter a number from 1 to 20
2) without having a print statement to print the entire square at once, print a hollow square with the size of the number they entered.
So, if they entered 3:
***
* *
***
If they entered 4
****
* *
* *
****
Hint: Try making a solid square before you make a hollow one.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
