Define a function get_party_ratio that consumes a Party and calculates the party’s ratio by dividing the head count by the capacity of the venue. If the capacity of the event is 0, 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).