xxxxxxxxxx
myset = {"bananas", "apples", "cherries"}
mytuple = ("bananas", "apples", "cherries")
print(myset)
#outputs {'apples', 'cherries', 'bananas'}
print(mytuple)
#outputs ('bananas', 'apples', 'cherries')
myset = {2, 1, 3}
mytuple = (2, 1, 3)
print(myset)
#outputs {1, 2, 3}
print(mytuple)
#outputs (2, 1, 3)
xxxxxxxxxx
tuple = (1,2,3,4,5,6,7,8,9, 1,2,3) # output: (1,2,3,4,5,6,7,8,9, 1,2,3) will be same
set = (1,2,3,4,5,6,7,8,9, 1,2,3) # output: (1,2,3,4,5,6,7,8,9) // removes the duplicate values