def tidy_input_string(s):
 s = ''.join(s.split()).lower()
 return s

def tidy_input_string ( s ) : s = '' . join ( s . split ( ) ) . lower ( ) return s
return string made lowercase and with all whitespace removed .