Multiple Choice
What will be the value of the variable string after the following code executes?
String = 'abcd'
String.upper()
A) 'abcd'
B) 'ABCD'
C) 'Abcd'
D) Nothing; this code is invalid
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: The strip()method returns a copy of the
Q2: The _ method returns a copy of
Q3: Indexing of a string starts at 1
Q4: The _ method returns True if the
Q5: What will be displayed after the following
Q7: A(n)_ exception will occur if you try
Q8: The isalpha()method returns _ if the string
Q9: The third number in string slicing brackets
Q10: What will display after the following code
Q11: What will be assigned to the variable