Q:

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

0

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

 l occurs twice in hello.


  1. 2
  2. 1
  3. None
  4. 0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

2

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now