<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def getZoom(self, resolution):
        "Return the zoom level for a given resolution"
        assert resolution in self.RESOLUTIONS
        return self.RESOLUTIONS.index(resolution)