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.loads('[1, 2, 3]')[1] give? | StemPy Lab
Quizzes
/
What does json.loads('[1, 2, 3]')[1] 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.loads('[1, 2, 3]')[1] give?
2
3
[2]
1
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← What does json.dumps({"a": True, "b": None}) give?
A file is opened with open("x.txt") and does not exist. Which error is raised? →
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 →