1. Home
  2. All MCQs

All MCQs with Answers · Page 738

45,334 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.

Newest first

What does json.dumps(obj, indent=2) do in Python?

  1. Compresses JSON
  2. Encrypts JSON
  3. Sorts keys
  4. Pretty-prints JSON with 2-space indentation Correct answer
MCQSEXAM Read explanation