What is the output of the following nested loop?
n = [10, 20]
li = ["Chair", "Table"]
for x in n:
for y in li:
print(x, y)
10 Chair
10 Table
10 Chair
10 Table
20 Chair
20 Table
Error
No output
This question is part of this quiz :
Python Loops