Iterators Example in Python

friends = ['Joseph', 'Glenn', 'Sally']
for friend in friends:
print ('Happy New Year:', friend)

Leave a Reply

Your email address will not be published. Required fields are marked *