Answers for "for loop python values"

1

python for in for in

adj = ["red", "big"]
fruits = ["apple", "banana"]

for x in adj:
  for y in fruits:
    print(x, y)
    #output: red apple, red banana, big apple, big banana
Posted by: Guest on April-20-2021

Code answers related to "for loop python values"

Python Answers by Framework

Browse Popular Code Answers by Language