Python Strings Quiz
Quiz Topic check Interactive

Strings — check your understanding

Review the diagram, then answer the MCQs before Practice.

Picture this: text in quotes

Index, slice, and methods. You cannot do s[0] = 'X'.

stringrow of chars
→
reads[i] / slice
→
new copyupper/replace

Diagram — characters and indexes

K0 o1 d2 i3 n4 s = "Kodin" → s[::-1] reverses, s[0] is first char

Quick review

Teach with visuals, then verify with questions — same pattern as AI Workshop.

Strings — Topic Quiz

Check understanding

Answer all questions, then click Check answers. Use this before Practice in the editor.

Q1. Are Python strings mutable?

Q2. What does s[::-1] do?

Q3. Which counts vowels best?

Q4. f-strings help with…

Score: —