A recursive function on a list returns 0 for []. For a longer list it returns 1 + itself on items[1:]. What does it work out?
Log in to join the discussion.
Loading…