Multiple Choice
What will be the value of the variable string after the following code executes?
String = 'Hello'
String += ' world!'
A) 'Hello'
B) ' world!'
C) 'Hello world!'
D) Nothing; this code is invalid
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q12: What are the valid indexes for the
Q13: What will be assigned to the variable
Q14: Indexing works with both strings and lists.
Q15: Each character in a string has a(n)_
Q16: What will be assigned to the string
Q18: When accessing each character in a string,such
Q19: What is the first negative index in
Q20: The _ method returns the list of
Q21: A(n)_ is a span of characters that
Q22: You cannot use a for loop to