Quiz Yourself on Python Basics
Take a short quiz on what you learned in this chapter.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the output of the following Python code?
str = 'programiz'
print('str[-1] = ', str[-1])
A.
str[-1] = p
B.
str[-1] = z
C.
str[-1] = i
D.
str[-1] = g
1 / 4