- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
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.
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
No quiz matches. Try another word or tag.