How to remove leading and trailing spaces from strings in a Python list,row = [x.strip() for x in row]