// Data Structures

Data Structures Quiz

// question 1 of 10
What is printed? print(5 in [1,2,3])
// question 2 of 10
What is printed? print(list((1,2,3)))
// question 3 of 10
What is printed? with open(""a.txt"",""w"") as f: print(f.mode)
// question 4 of 10
What is printed? print(type(()))
// question 5 of 10
What is printed? print({1,2}.union({2,3}))
// question 6 of 10
What is printed? d={""a"":1}
// question 7 of 10
What is printed? print([1,2,3][0])
// question 8 of 10
What does values() return?
// question 9 of 10
What is printed? a=[1,2,3]
// question 10 of 10
What is printed? print([x+1 for x in [1,2,3]])