Log in from a computer to take this course

You'll need to log in from a computer to start Learn Python 2. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
Learn

Good work! As a store manager, you’re also in charge of keeping track of your stock/inventory.

Instructions

1.

Create a stock dictionary with the values below.

py "banana": 6, "apple": 0, "orange": 32, "pear": 15

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?