Python Test 8

String Operations

Choose one option for each question. This test contains 20 questions with mostly code-based practice. The code questions use varied tracing patterns such as indexing, slicing, searching, formatting, replacement, and string method combinations. When you click an answer, the correct answer and a short explanation will appear below that question.