OverIQ.com
Run (or Hit F9)
s3 = set({77, 23, 91, 271}) print(s3) s4 = set("123abc") # creating set from a string print(s4) s5 = set(['one', 'two', 'nine', 33, 13]) # creating set from a list print(s5) s6 = set(("alpha", "beta", "gamma")) # creating set from a tuple print(s6)