def remove_spaces(input_text, main_rnd_generator=None, settings=None):
    """Removes spaces.

    main_rnd_generator argument is listed only for compatibility purposes.

    >>> remove_spaces("I love carrots")
    'Ilovecarrots'
    """
    return input_text.replace(" ", "")