Multiple Choice
Consider the following code: In [1]: s1 = 'happy'
In [2]: s2 = 'birthday'
In [3]: s1 += ' ' + s2
In [4]: s1
Out[4]: 'happy birthday'
In [5]: symbol = '>'
In [6]: symbol *= 5
In [7]: symbol
Out[7]: '>>>>>'
Which snippet(s) in this interactive session appear to modify existing strings, but actually create new string objects?
A) Only snippet [3].
B) Only snippet [5].
C) Both snippets [5] and [6].
D) Both snippets [3] and [6].
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Which of the following statements is false?<br>A)
Q3: Which of the following statements a), b)
Q4: Which of the following statements a), b)
Q5: Which of the following statements a), b)
Q6: Consider this text from Shakespeare's Romeo and
Q8: Which of the following statements a), b)
Q9: Which of the following statements a), b)
Q10: Based on the string sentence = '\t
Q11: Which of the following statements a), b)
Q12: Which of the following statements a), b)