I'm in an intro to python class so I don't know much. I'm working on a recipe calculator assignment and I keep on running into an error that states: Traceback (most recent call last):
File "/Users/Haley/Desktop/Python/assignment 2.py", line 6, in <module> ing1amount = input(float("Please enter amount of ingredient 1")) ValueError: could not convert string to float: 'Please enter amount of ingredient 1' I don't know what this means or how to really fix it, so anything helps. Thanks!
#Let the user input the name of the recipe recipe = (input("Enter the name of your recipe: ")) #Let the user input ingredients and their amounts ingredient1 = input("Please enter ingredient 1: ") ing1amount = input(float("Please enter amount of ingredient 1")) ingredient2 = input("Please enter ingredient 2: ") ing2amount = input(float("Please enter amount of ingredient 2")) ...