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: 23 1А 1B 1C 2A 2В 2C...


need help/explanation of how to do this. see image below



i tried writing something down for lines 7-9 but I'm really stuck


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<br>space after each seat.<br>Sample output with inputs: 23<br>1А 1B 1C 2A 2В 2C<br>247772.2037288.gx3zgy7<br>num_rows = int(input())<br>2 num_cols = int(input())<br>3<br>4 # Note 1: You will need to declare more variables<br>5 # Note 2: Place end=' ' at the end of your print statement to separate seats by spaces<br>7 for row in range (num_rows):<br>for col in range(num_cols):<br>print(<br>8<br>9<br>10<br>print()<br>

Extracted text: 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: 23 1А 1B 1C 2A 2В 2C 247772.2037288.gx3zgy7 num_rows = int(input()) 2 num_cols = int(input()) 3 4 # Note 1: You will need to declare more variables 5 # Note 2: Place end=' ' at the end of your print statement to separate seats by spaces 7 for row in range (num_rows): for col in range(num_cols): print( 8 9 10 print()

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here