<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def deaths(self, root):
 """Causes of death in the nation, as percentages. Returns ------- an :class:`ApiQuery` of dict with keys of str and values of float """

        return {
            elem.get('type'): float(elem.text)
            for elem in root.find('DEATHS')
        }