// Data Structures

Data Structures Quiz

// question 1 of 10
What is printed? d={""a"":1}
// question 2 of 10
What is printed? d={""a"":1,""b"":2}
// question 3 of 10
What is a comprehension?
// question 4 of 10
What is printed? print([1,2,3][-1])
// question 5 of 10
What is a nested list?
// question 6 of 10
What does readlines() return?
// question 7 of 10
What is printed? a=[1,""hi"",True]
// question 8 of 10
What is printed? print((1,2)+(3,4))
// question 9 of 10
What is printed? print(tuple([1,2,3]))
// question 10 of 10
What mode appends to a file?