Question: Asking user for required info pizzaCount = int(input (How many people ordered pizza: )) salad int (input (How many people ordered salad: )) #Finding
Asking user for required info pizzaCount = int(input ("How many people ordered pizza: ")) salad int (input ("How many people ordered salad: ")) #Finding base cost of pizza pizza = pizzaCount * 3 if(pizza % 12 != 0): pizza = pizza / 12 pizza = math.ceil(pizza) pizza = pizza / 12 else: basePizzaCost = pizza * 15.99
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
