Now you try it!

Write some code that will count up the number of aluminum, paper, and plastic items in this list:

items = iter(["aluminum", "plastic", "plastic", "plastic",
"plastic", "paper", "plastic", "aluminum", "aluminum", "paper", "plastic"])

Show Solution:


Next
Previous