import re import json x = (json.dumps({'1': 2, '3': 4}, sort_keys=True)) print((x[14])+1) """ print(int(x[14])+1) // works """
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 5, in <module> TypeError: cannot concatenate 'str' and 'int' objects