String Stripping

 It will not print out the spaces like

name = "                  yash                   "
print(name .strip())