Question: Make a square.py Write a program that asks the user for a number less than or equal to 15. Have your program output to screen

 Make a square.py Write a program that asks the user for

Make a square.py Write a program that asks the user for a number less than or equal to 15. Have your program output to screen a square using the character *. The output won't look like a square but you'll use the number that the user enters in as as the length (and the width) of the square (see examples below). If the user enters in 5, the output would be: ***** ***** ***** ***** ***** If the user enters 8, the output would be: ******** ******** ******** ******** ******** ******** ******** ******** - + HINT: Use a while-loop

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!