[ad_1]
This isn’t elegant, but you could strip line endings, then replace the spaces and tabs:
askuser = askuser.strip().replace(' ','').replace('\t','')
[ad_2]
solved How do I remove all white space in any given input? [closed]
[ad_1]
This isn’t elegant, but you could strip line endings, then replace the spaces and tabs:
askuser = askuser.strip().replace(' ','').replace('\t','')
[ad_2]
solved How do I remove all white space in any given input? [closed]