# Complete the calc_pizza_calories_per_slice() function to calculate the calories for a single slice of pizza
# A calc_pizza_calories() function returns a pizza's total calories given the pizza diameter passed as an arguement
# A calc_num_pizza_slices() function returns the number of slices in a pizza given the pizza diameter passed an arguement
def calc_pizza_calories_per_slice(pizza_diameter):
total_calories = <placeholder_A>
calories_per_slice = <placeholder_B>
return calories_per_slice
# Type the expression for placeholder_A to calculate the total calories for a pizza with diameter pizza_diameter
total_calories = calc_pizza_calories(pizza_diameter)
# The statement assigns total_calories with the values returned by calc_pizza_calories(pizza_diameter)
# Type the expression for placeholder_B to calculate the calories per slice
calories_per_slice = total_calories / calc_num_pizza_slices(pizza_diameter)
#calories_per_slice is assigned with total_calories divided by the number of slices per pizza, which is returned by calc_num_pizza_slices(pizza_diameter)
To embed this project on your website, copy the following code and paste it into your website's HTML: