t = (1, 2, "ebal tebya v rot")s = frozenset(t)print(t, s)print(set((t, s)))
Standard input is empty
(1, 2, 'ebal tebya v rot') frozenset({'ebal tebya v rot', 1, 2}) {(1, 2, 'ebal tebya v rot'), frozenset({'ebal tebya v rot', 1, 2})}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!