Challenge: Rectangle

Question: Create a function to print a rectangle with the pattern shown below. The size of the rectangle is the input to the function. Answer: The key here is to separate the printing of the first and last row from the middle rows. 👍 Have fun while coding with Python! 👌 Please Subscribe to receive notifications on … Read more