print each item in a list python code example
Example: print string elements in list python
# list having all elements are strings
strings = ['string1', 'string2', 'string3', 'string4']
for string in strings:
print(string)
# list having all elements are strings
strings = ['string1', 'string2', 'string3', 'string4']
for string in strings:
print(string)