How to convert a tuple to a string in Python?