-
-
Save codecademydev/3ee07cbefb2321e623c644aede169ec7 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
# Your code below: | |
toppings = ["pepperoni", "pineapple", "cheese", "sausage", "olives", "anchovies", "mushrooms"] | |
prices = [2, 6, 1, 3, 2, 7, 2] | |
num_two_dollar_slices = prices.count(2) | |
print(num_two_dollar_slices) | |
num_pizzas = len(toppings) | |
print("We sell" + str(num_pizzas) + "different kinds of pizza!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment