def strip_extra_spaces(input_string):
    """
    Removes extra spaces from input string
    >>> strip_extra_spaces("I have no  cats")
    'I have no cats'
    """
    while "  " in input_string:
        input_string = input_string.replace("  ", " ")
    return input_string