What will be the output of the following Python code?
s = "Hello World"
t = s.count("o", 0, 5)
print(t)
A) 0
B) 1
C) 2
D) 3
Answer:
Answer by student
B) 1
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.