Python interview question - How to remove whitespaces from a string?

How to remove whitespaces from a string in python ?