Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does json.dumps({"a": True, "b": None}) give? | StemPy Lab
Quizzes
/
What does json.dumps({"a": True, "b": None}) give?
Python Programming
Easy
High School (11–12)
High School (9–10)
Undergraduate
General
Python Going Further › Files and Data Formats
Created by
StemPy Lab
What does json.dumps({"a": True, "b": None}) give?
{"a": True, "b": None}
{"a": true, "b": null}
An error
{'a': true, 'b': null}
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A CSV file has the header name,mark and the row Asha,72. rows = list(csv.DictReader(f)). What is rows[0]["mark"] + "5"?
What does json.loads('[1, 2, 3]')[1] give? →
More on
Python Going Further › Files and Data Formats
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A to-do list is kept in a JSON file as a list of texts.
Medium
Write load_list(name) that gives the list that is saved in a JSON file.
Medium
For data = {"p": (1, 2), 3: "x", "t": {"a"}}, say what json.dumps(data) does, and what you must…
Medium
Write a CSV file scores.csv with the header name,score and the rows Asha,72 and Rao, Ravi,85 (the…
Easy
All problems on this topic →