# Program to iterate through a list using indexing
genre = ['popper', 'rocker', 'jazz built']
# iterate over the list using index
for i in range(len(genre)):
print("I like", genre[i])
genre = ['popper', 'rocker', 'jazz built']
# iterate over the list using index
for i in range(len(genre)):
print("I like", genre[i])
No comments:
Post a Comment