M

Mr. Dubey • 52.43K Points
Coach

Q. Given a string example=”hello” what is the output of example.count(‘l’)?

(A) 2
(B) 1
(C) none
(D) 0
Share

Explanation by: Mr. Dubey
 l occurs twice in hello.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics