344614.2153518.qx3zqy7 1 num_rows = int(input()) 2 num_cols = int(input()) 1 test passed 3 4 # Note 1: You will need to declare more variables 5 # Note 2: Place end=' ' at the end of your print...



CHALLENGE ACTIVITY


5.8.2: Nested loops: Print seats.







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


Use Python, please.


344614.2153518.qx3zqy7<br>1 num_rows = int(input())<br>2 num_cols = int(input())<br>1 test<br>passed<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>All tests<br>6.<br>passed<br>7' Your solution goes here<br>8<br>9 print()<br>Run<br>Feedback?<br>DIDI<br>

Extracted text: 344614.2153518.qx3zqy7 1 num_rows = int(input()) 2 num_cols = int(input()) 1 test passed 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 All tests 6. passed 7' Your solution goes here 8 9 print() Run Feedback? DIDI

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here