adplus-dvertising
frame-decoration

Question

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

a.

2

b.

1

c.

None

d.

0

Posted under Strings in Python Python

Answer: (a).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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