This isn’t elegant, but you could strip line endings, then replace the spaces and tabs:
askuser = askuser.strip().replace(' ','').replace('\t','')
This isn’t elegant, but you could strip line endings, then replace the spaces and tabs:
askuser = askuser.strip().replace(' ','').replace('\t','')