Python exercise

Count Grocery List Items

Sign in to hand in your solution and get feedback.

from dataclasses import dataclass from bakery import assert_equal assert_equal(count_items(GroceryList(2, 1, 3)), 47)