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