Define a function average_spookiness that consumes a list[Monster] and produces a float by calculating the average spookiness. The average spookiness is calculated by dividing the total spookiness of the given monsters by the number of monsters. If there are no monsters, then return 0.0 instead. 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).