← Back to Question List
Python Code Walkthrough #17
Nested Loop Pairs
📄 Code
Read carefully — what does this print?1for letter in ['a', 'b']:2 for num in [1, 2, 3]:3 print(f'{letter}{num}', end=' ')4 print('|', end=' ')5print()6print('rows done')