for obj in ({1, 2, 3}, {'a': 1, 'b': 2}): print('{} is a {}'.format(obj, type(obj)))
Standard input is empty
set([1, 2, 3]) is a <type 'set'> {'a': 1, 'b': 2} is a <type 'dict'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!