Practice ยท 2 of 3
Save Contacts
contacts is given (a dict of name -> phone). Save it as JSON into contacts.json with ensure_ascii=False and indent=2. The test loads the file back and compares.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: JSON Persistence