Detect spaces at the start of a string and remove those in Python
In this tutorial we will learn about how to detect spaces and remove it from a string. We can’t store string taken from user as input . It can contain unrequired spaces. when you want to check its equality with any term it can cause error , because python consider spaces also . This Python …
Detect spaces at the start of a string and remove those in Python Read More »