Quiz

Test your understanding of the concepts explained in this chapter with this quiz!

We'll cover the following...
1

What will the value of res be in the following code?

res = {10, 'ten', 'X', 10, 25, 25, 'ten'}
print(res)
A)

{10, ‘ten’, ‘X’, 10, 25, 25, ‘ten’}

B)

{10, ‘ten’, ‘X’}

C)

{10, ‘ten’, ‘X’, 25}

D)

{10, ‘ten’}

Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.