Python String Quiz

Text is everywhere in Python. These quizzes check slicing, string methods, formatting, immutability and the tricky world of escape characters.

Beginner 5 quizzes · 50 questions about 30 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 Indexing & Slicing Easy Pick characters and substrings out of a string with indexes and slices. #indexing#slicing 10 questions · ~5 min Not started Start
2 String Methods Easy Test the everyday string methods like split, join, strip and replace. #string-methods#split-join 10 questions · ~5 min Not started Start
3 String Formatting Medium Pad, align, round and group numbers with Python's format specs. #f-strings#formatting 10 questions · ~6 min Not started Start
4 Immutable Strings Medium Strings never change in place - see if you can predict what really happens. #immutability#output-prediction 10 questions · ~6 min Not started Start
5 Escape Characters & Raw Strings Hard Backslashes, raw strings and Unicode escapes - the interview-style string gotchas. #escapes#raw-strings#unicode 10 questions · ~8 min Not started Start