Quiz

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

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

Get hands-on with 1200+ tech skills courses.