Multiple Choice
Which method would you use to determine whether a certain substring is present in a string?
A) endswith(substring)
B) find(substring)
C) replace(string, substring)
D) startswith(substring)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: If the + operator is used on
Q28: If a whole paragraph is included in
Q29: In slicing,if the end index specifies a
Q30: If the start index is _ the
Q31: Which method would you use to determine
Q33: What will be assigned to the variable
Q34: The following code will display 'yes +
Q35: When the operand on the left side
Q36: What will be assigned to the variable
Q37: The following expression is valid:<br>string[i] = 'i'