You are not logged in.

#1 2017-12-08 04:53:20

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

What is the output of the following? print("xyyzxyzxzxyy".count(...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output of the following?
print("xyyzxyzxzxyy".count('yy'))

Option A):
0
Option B):
Error
Option C):
None of the mentioned
Option D):
2

Correct Answer is Option D):
2

2017-12-08 04:53:20

Advertisement
Ads By Google

Re: What is the output of the following? print("xyyzxyzxzxyy".count(...



Board footer