Solved

Which of the Following Statements A), B) or C) Is

Question 4

Multiple Choice

Which of the following statements a) , b) or c) is false?


A) String method count returns the number of times its argument occurs in the string on which the method is called.
B) If you specify as the second argument to method count a start_index, as in sentence.count('to', 12)
Count searches only the slice string[start_index:]-that is, from start_index through end of the string.
C) If you specify as the second and third arguments of method count the start_index and end_index, as in sentence.count('that', 12, 25)
Count searches only the slice string[start_index:end_index]-that is, from start_index up to, but not including, end_index.
D) All of the above statements are true.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents