How to check that tuple contains unique elements code example Example: How to check that tuple contains unique elements len(set(tup))==len(tup)