The online shop shows a little number on the cart icon. Write cart_size(cart) to return how many things are in the cart list. An empty cart gives 0.
cart_size(["socks", "mug", "pen"])→3cart_size([])→0def cart_size(cart):
# your code here: how long the list is
return 0
Run tries the examples. When they look right, Submit.