Databases / Chapter 1: What is a Database? / Introduction To Databases
Assignment: JSON
Quiz (5 points)
Please write a Python program that performs the following tasks:
- Encode people into a JSON formatted string and write it to /home/people.json
- Load /home/numbers.json into a variable called numbers and write numbers['e'] to a file at /home/e.txt.
Please save your program in /home/encode_decode.py
Do your work in the simulator below. When you feel confident in your answer, click the "Submit" button to save your work and submit it for grading.
Ready
Logicwalk OS Simulator
Comments
Please log in to add comments