How to get a unique element in nested tuple in python

join shbcf.ru