How to get a item of the tuple in python?