Python - Structured Data Files
How do you convert a Python dictionary
data into a JSON string with an indentation level of 4 spaces using json.dumps()?data into a JSON string with an indentation level of 4 spaces using json.dumps()?indent=4 formats the JSON string with 4 spaces indentation.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions