I've been given the task to create a function that takes a string and does the following:
- replaces each tab with a space
- turns all letters lowercase
- removes characters: !@#$%^&*()_+-=[]{}\|`~;:'"<>?,./
I already cracked the lowercase part by using msg.lower()
, but I'm mostly stuck on the tabs to spaces part.
Any suggestions?