server/inputs.py
def _get_number(user_input: str) -> int:
    '''
    for example, if this line of input said MAX 5, then we're looking for up to five locations
    where the AQI value is at or above the AQI threshold
    '''
    
    user_input = user_input.replace('MAX ', '')

    return int(user_input)

    for example, if this line of input said MAX 5, then we're looking for up to five locations
    where the AQI value is at or above the AQI threshold
    
for example, if this line of input said MAX 5, then we're looking for up to five locations
where the AQI value is at or above the AQI threshold
for example if this line of input said MAX 5 then we ' re looking for up to five locations where the AQI value is at or above the AQI threshold
def _get_number(user_input: str) -> int:
    user_input = user_input.replace('MAX ', '')
    return int(user_input)
def _get_number ( user_input : str ) -> int : user_input = user_input . replace ( 'MAX ' , '' ) return int ( user_input )
for example, if this line of input said MAX 5, then we're looking for up to five locations
where the AQI value is at or above the AQI threshold
for example if this line of input said MAX 5 then we ' re looking for up to five locations where the AQI value is at or above the AQI threshold
'''
    for example, if this line of input said MAX 5, then we're looking for up to five locations
    where the AQI value is at or above the AQI threshold
    '''
user_input
str