0
Is nested loop can be executed in python
Nested query
2 Answers
+ 5
Of course:
for i in range (10):
for j in range (10):
print('*', end='')
print()
+ 4
Yes nested loop executed in python
Example
adj = ["red", "big", "tasty"]
fruits = ["apple", "banana", "cherry"]
for x in adj:
  for y in fruits:
    print(x, y)