can someone help me understand the logic behind this? /u/Wonderful_Many6084 Python Education

Im new to python and this was the model solution of a problem i was trying to solve, i kind of don’t understand the logic here. can someone help understand?

# Write your solution here

width = int(input(“Width: “))

height = int(input(“Height: “))

i = 1

while i <= height:

print(“#” * width)

i += 1

submitted by /u/Wonderful_Many6084
[link] [comments]

​r/learnpython Im new to python and this was the model solution of a problem i was trying to solve, i kind of don’t understand the logic here. can someone help understand? # Write your solution here width = int(input(“Width: “)) height = int(input(“Height: “)) i = 1 while i <= height: print(“#” * width) i += 1 submitted by /u/Wonderful_Many6084 [link] [comments] 

Im new to python and this was the model solution of a problem i was trying to solve, i kind of don’t understand the logic here. can someone help understand?

# Write your solution here

width = int(input(“Width: “))

height = int(input(“Height: “))

i = 1

while i <= height:

print(“#” * width)

i += 1

submitted by /u/Wonderful_Many6084
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *