string,strip() code example
Example: python strip()
a = " smurf "
a = a.strip()
#remove space at begining and end of string
print(a)
#smurf
a = " smurf "
a = a.strip()
#remove space at begining and end of string
print(a)
#smurf