-
-
Save codecademydev/098d298ce90629e8ec2c35fff4ab27ae to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
menu = {} # Empty dictionary | |
menu['Chicken Alfredo'] = 14.50 # Adding new key-value pair | |
print menu['Chicken Alfredo'] | |
# Your code here: Add some dish-price pairs to menu! | |
menu['oranges'] = 11.23 | |
menu['Burger'] = 3.75 | |
menu['yoghurt'] = 4.50 | |
print "There are " + str(len(menu)) + " items on the menu." | |
print menu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment