Hello in python i would like to display in console something like thhis but with user given values. This should display when user give values 5 and 4. Its room with width 5 and height 4 units. It have to be with this stars and dots. I find some guides a try like this:
n=int(input("Enter the height:"))
for i in range(n+1):
print("| |")
print("| |")
if i<n:
print("......")
It display similar pattern but not as i expected.I would like also add this stars i the corner and option that user can specify width and height. It should look like room with walls. Could u help me with this. I've just started with python.
*-----*
|.......|
|.......|
|.......|
|.......|
*-----*