Quiz Yourself on Lists

Test your knowledge of lists.

Quiz

1

What will be the output of the following program?

msg = list('www.google.com')
ch = msg[-1]
print(ch)
A)

w

B)

o

C)

m

D)

SyntaxError

Question 1 of 120 attempted

Get hands-on with 1400+ tech skills courses.