How to convert a tuple in a list in python?