servings=float(input("Enter the number of servings ")) # We got servings #Initialising the ingredients for 1 serving: #Then multiplying it by servings to get Amount needed for n number of servings tomato_sauce= 2/4 * servings tomato_paste= 1/12* servings garlic= 1/2* servings oregano= 1/4* servings print(f'To make {servings: .1f} servings of sphagetti sauce you will need:') print(f'{tomato_sauce:.2f} cups of tomato sauce') print(f'{tomato_paste:.2f} cups of tomato paste') print(f'{garlic:.2f} cloves of garlic') print(f'{oregano:.2f} tablespoons of oregano') amount_needed=2.0