# -*- coding: utf-8 -*-
"""
Created on Wed Jun 12 22:20:14 2019

@author: Munire
"""

shampoobrands=["Pantene","Head&Shoulders","Blendax","Elidor","Bioblas"]
myiterator=iter(shampoobrands)
print("Shampoo Brands: ")
print(next(myiterator))
print(next(myiterator))
#%% WITH FOR LOOP
print("Shampoo Brands: ")
for brand in shampoobrands:
    print(brand)

cb0be0ba7166ddec6fb9215c9ee9b4163958bff2
<mask token>

<mask token>
print('Shampoo Brands: ')
print(next(myiterator))
print(next(myiterator))
print('Shampoo Brands: ')
for brand in shampoobrands:
    print(brand)

<mask token>
shampoobrands = ['Pantene', 'Head&Shoulders', 'Blendax', 'Elidor', 'Bioblas']
myiterator = iter(shampoobrands)
print('Shampoo Brands: ')
print(next(myiterator))
print(next(myiterator))
print('Shampoo Brands: ')
for brand in shampoobrands:
    print(brand)

# -*- coding: utf-8 -*-
"""
Created on Wed Jun 12 22:20:14 2019

@author: Munire
"""

shampoobrands=["Pantene","Head&Shoulders","Blendax","Elidor","Bioblas"]
myiterator=iter(shampoobrands)
print("Shampoo Brands: ")
print(next(myiterator))
print(next(myiterator))
#%% WITH FOR LOOP
print("Shampoo Brands: ")
for brand in shampoobrands:
    print(brand)
