Define a function brew_time_per_ingredient that consumes a list of Potion and produces a float representing the average amount of time spent brewing overall. To do so, add up the time spent brewing for all the potions and then divide it by the total number of ingredients. If there are no ingredients, return the value 0.0. Do not define your own class here. Use the dataclasses that are already imported.

The file monster_mash.py is in monster_mash.py and in the monster_mash.py tab of the sandbox (To sandbox).