Which of the following would be displayed where we wrote ??? by Out[3]?


In [1]: numbers = list(range(10)) + list(range(5))

In [2]: numbers
Out[2]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4]

In [3]: set(numbers)
Out[3]: ???


a. [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
b. (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
c. {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
d. {[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}

c. {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT a merge shapes option?

A) Union B) Intersection C) Distribute D) Combine

Computer Science & Information Technology

List all guests currently staying at the Grosvenor Hotel.

What will be an ideal response?

Computer Science & Information Technology