def removeSpaces(string):
    """Returns a new string with spaces removed from the original string

    >>> string = '1 173'
    >>> removeSpaces(string)
    '1173'
    """
    return ''.join([char for char in string if char != ' '])