Nested For Loop (Multiple line) in Python
Nested For Loop (Multiple line) in Python
l1 = ['orange','mango','apple']
l2 = ['banana','lemon','tamato']
for i in l1:
for j in l2:
print(i,j)
OUT PUT
orange banana orange lemon orange tamato mango banana mango lemon mango tamato apple banana apple lemon apple tamato
Comments
Post a Comment