Python is frequently used for creating websites and applications, automating repetitive tasks, and analyzing and displaying data.
#This gets the number of cookies
cookies = float(input("Number of cookies: "))
#This calculates the amount of sugar
sugar = (1.5 * cookies) / 48.0
#This calculates the amount of butter
butter = cookies / 48
#This calculates the amount of flour
flour = (2.75 * cookies) / 48
#This prints the amount of sugar, butter and flour needed
print("You need ", format(sugar, '.2f'), " cups of sugar, ", format(butter, '.2f'), " cups of butter and ", format(flour, '.2f'), " cups of flour", sep='')
To learn more about Python refer,
https://brainly.com/question/12867701
#SPJ4