skip to Main Content

How to remove json elements and reformat it

I have the follow JSON as an output of an enumerate function. {'question': (0, 'Who invented the light bulb?'), 'answers': [{'answer': 'Thomas Edison', 'score': '2.0'}, {'answer': 'Nikola Tesla', 'score': '2.0'}, {'answer': 'Albert Einstein', 'score': '0.0'}], 'error': "We didn't quite get…

VIEW QUESTION
Back To Top
Search