// Data Structures

Data Structures Quiz

// question 1 of 10
What does intersection() return?
// question 2 of 10
What does len() return?
// question 3 of 10
What is printed? print([x for x in ""abc""])
// question 4 of 10
What is printed? print([x for x in range(5) if x%2==0])
// question 5 of 10
What is printed? print(len({1,2,3}))
// question 6 of 10
What does del do in dictionaries?
// question 7 of 10
What is printed? print(set([1,1,2,3]))
// question 8 of 10
What is printed? print({""a"":1}.get(""b""))
// question 9 of 10
What is printed? print(len({""a"":1,""b"":2}))
// question 10 of 10
What is a set?