PCAP › Strings
The Strings domain covers Python's immutable str type: indexing, slicing, concatenation, and the methods that inspect and transform text. Questions ask you to predict exact output from slicing expressions, choose the right method for a task, and apply format specifiers. Expect code-reading items where one character of difference in a slice bound or format spec changes the result.
PCAP Strings — All 186 Questions
Every question in this domain with answers and detailed explanations.