How to convert a list to a string in Python?