import random #Author: James Tam #Version: Oct 7, 2024 #Limitations: #*Does not recover from non-numeric input (crashes) #*Does not prevent invalid values for the length and width print("Draw rectangle") element = input("Type in the character used to draw the rectangle: ") rows = int(input("Type in the number of rows: ")) columns = int(input("Type in the number of columns: ")) for r in range(0,rows,1): for c in range(0,columns,1): print(element, end="") print()