Your code below:
toppings = [“pepperoni”, “pineapple”, “cheese”, “sausage”, “olives”, “anchovies”, “mushrooms”]
print(toppings)
prices = [2, 6, 1, 3, 2, 7, 2]
print(prices)
num_two_dollar_slices = prices.count(2)
print(num_two_dollar_slices)
num_pizzas = len(toppings)
print(num_pizzas)
str(num_pizzas)
print(" we sell " + str(num_pizzas) + " different kinds of of pizza!")
pizzas_and_prices = [2,“pepperoni”] + [6, “pineapple”] + [1, ‘cheese’] + [3, ‘sausage’] + [2, ‘olives’] + [7, “anchovies”] + [2, ‘mushrooms’]
print(pizzas_and_prices)
print(pizzas_and_prices)
pizzas_and_prices.sort()
What are the issues/what are you trying to accomplish here?
Can you please be more specific? Ex: what’s the question number that you’re stuck on?
In general, your post will get a good answer if you’ve remembered to do the following:
Always search for existing answers first.
Provide as much information and context as possible.
Format your code.
Follow the Community Guidelines .
Reference Additional Resources
Before Starting a Topic, Search for Existing Answers
Before you start a new topic, check existing posts and use Google to see if your questions have already been addressed. This will very often give you an immediate answer! Crypti…
Also, it might be helpful to search the forums for questions on this project. There’s a lot of advice already out here that might help you fix your coding errors.
https://discuss.codecademy.com/search?q=Len%27s%20Pizza