Exam PCAP All QuestionsBrowse all questions from this exam
Question 13

Which of the following statements are true? (Choose two.)

    Correct Answer: B, C

    Python strings can be concatenated using the `+` operator, making it possible to join two or more strings together. Additionally, Python strings can be sliced like lists, meaning you can extract substrings using slicing notation (e.g., `string[start:end]`). However, Python strings are immutable, meaning they cannot be altered after they are created. Therefore, the statements that are true are that Python strings can be concatenated and can be sliced like lists.

Discussion
DKMOptions: BC

Python strings cannot be changed — they are immutable.

macxszOptions: BC

B. Python strings can be concatenated C. Python strings can be sliced like lists

666_m

error BC is correct

666_mOptions: BD

B& D. correct