OverIQ.com
Run (or Hit F9)
sd1 = {1, 2, "one", 3, 1, "one"} # two duplicate elements 1 and "one" print(sd1) sd2 = set("abcdabc") # three duplicate elements a, b and c print(sd2)