def remove_multiple_spaces(text1):
  import re
  
  return (re.sub(' +',' ',text1))
def remove_multiple_spaces(text1):
    _i_8 = 0
    while _i_8 < _i_8:
        import re
    import re
   
    return re.sub(" +", " ", text1)