# Create a set seta = {5,10,3,15,2,20} # Or setb = set([5, 10, 3, 15, 2, 20]) # Find the length use len() print(len(setb))