# your code goes hereimport json try: print(json.loads("123456"))except ValueError as err: print(err)
Standard input is empty
123456
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!