All challenges
Multiple ChoiceBeginner 30s

json indent

Choose the best answer for: json pretty print
Options
  1. 1json.pretty() is the method
  2. 2json uses format=pretty
  3. 3JSON doesn't support pretty printing
  4. 4json.dumps(data, indent=2) pretty-prints

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle