- In the current directory, run the following:
python data.json answers.json
- The 1st argument is the filename of the data json file.
- The 2nd argument is the filename of the output json file.
- The output json file will have 7 keys:
q1, q2, q3, ..., q7
- Each value here will be the answer
- Refer to the doc strings for more details
- Code is written in Python 2.7
- No extra packages/modules have to be downloaded (i.e. no requirements.txt file needed)