Detailed description of your problem, including steps to reproduce it:
This is for a homework assignment that I have already missed the deadline for, however I still feel compelled to complete the problem. We were asked to do the following:
https://imgur.com/CeenLOK
We were given this bit of info to help:
https://imgur.com/tUOZSiZ
****Mind you we just learned while loops, so we are expected to complete this problem using a while loop.
What steps have you tried? What was the outcome?
Screenshot of output: https://imgur.com/XqrMZmN
[b]System info, python version, operating system, etc.[/b: Python 3.5, Windows 10
PLEASE HELP
This is for a homework assignment that I have already missed the deadline for, however I still feel compelled to complete the problem. We were asked to do the following:
https://imgur.com/CeenLOK
We were given this bit of info to help:
https://imgur.com/tUOZSiZ
****Mind you we just learned while loops, so we are expected to complete this problem using a while loop.
What steps have you tried? What was the outcome?
width = int(input("Enter the width of your box: ")) print() length = int(input("Enter the length of your box: ")) print() border = "*" * width print(border) border = "*" + width * " " + "*" while length < width: print(border) length = length + 1 print("*" * width)
Screenshot of output: https://imgur.com/XqrMZmN
[b]System info, python version, operating system, etc.[/b: Python 3.5, Windows 10
PLEASE HELP
