ScriberUK
asked on
Python, how can I remove whitespaces from a string?
How can I remove whitespaces from a string (two examples below) so that they just have one whitespace between the words or no whitespaces if applied to the third example?
1. 'The International Association for Computing'
2. 'From Qubit'
3. ' Test'
Cheers,
1. 'The International Association for Computing'
2. 'From Qubit'
3. ' Test'
Cheers,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thank you for the assist, and the points.
Good luck & have a great day.
Good luck & have a great day.
ASKER