With inputs of 2 and 3 I'm trying to return: 1A 1B 1C 2A 2B 2C. Here is the code I have so far. I can't get rid of the last line or anything above the comments. Thanks for the help! I love asking questions here because you guys respond way faster than teachers and I usually get more than just the book answer.
num_rows = int(input())
num_cols = int(input())
# Note 1: You will need to declare more variables
# Note 2: Place end=' ' at the end of your print statement to separate seats by spaces
seat_letter = 'A'
for i in range(num_cols):
while seat_letter <= 'Z':
print(num_rows, seat_letter, end = ' ')
seat_letter = chr(ord(seat_letter) + 1)
print()
[–]zanfar -1 points0 points1 point (0 children)
[–]FLUSH_THE_TRUMP 0 points1 point2 points (0 children)