We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

First Element

Assignment

Let's keep improving our inventory system. Complete the get_first_item function. It takes a list as input.

You can check if a list is empty by checking its length.