150k views
3 votes
Can u write a python program with this output

Can u write a python program with this output-example-1

1 Answer

2 votes

Answer:

Not exact, but it will help.

Step-by-step explanation:

do something like this.

print("""

this program will help you plan your garden.

First, we need some information about the dimensions you want.

""")

while True:

try:

response = int(input("Please enter the side length for your garden (in feet) : "))

except ValueError:

print("(!)Please Enter A Number(!)")

print("")

continue

if str(response) == "":

continue

else

length = int(response)

break

repeat stuff like that up above for the rest, and then you can decide what to do with the variables and how they need to be multiplied for the output. Good luck!

User Tfont
by
7.3k points