how can you print the third and the fourth items in the list example
Answers
Answered by
9
Using for loop : Traverse from 0 to len(list) and print all elements of the list one by one uisng a for loop, this is the standard practice of doing it. ...
Without using loops: * symbol is use to print the list elements in a single line with space.
Answered by
0
Answer:
# Python Program to print Elements in a List
Fruits = ['Apple', 'Orange', 'Grape', 'Banana']
print("Element in this List are : ")
for fruit in Fruits:
print(fruit)
Similar questions