Answers for "how to print elements in a list in python"

2

how to print all items in a list python

fruits = ["Apple","Orange","Watermelon","cherry"]
for fruit in fruits:
    print(fruit)
Posted by: Guest on August-04-2021

Code answers related to "how to print elements in a list in python"

Python Answers by Framework

Browse Popular Code Answers by Language