Question Detail
Question
According to the document, what is the primary difference between indexing and slicing in string manipulation?
Correct Answer
Option B is the correct answer.
Detailed Explanation
The document states: 'If indexing lets you look at a single character, Slicing lets you cut out an entire substring or segment.' This clearly defines their primary difference.
Hint
Think about what 'a single crumb' versus 'a clean slice of text' refers to in the bread analogy.