Given num_rows and num_cols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print a space after each seat.

Sample output with inputs: 2 3
1A 1B 1C 2A 2B 2C

num_rows = int(input("Enter number of rows: "))

num_cols = int(input("Enter number of columns: "))

for row in range(1, num_rows+1):
for col in range(1, num_cols+1):
print(str(row) + chr(ord('A') + col - 1), end=" ")
print()