R

Ram Sharma • 193.86K Points
Coach

Q. If str1="Programming Language"
What does str1.find("m") return?

  • (A) Number of occurances of "m" in string str1.
  • (B) Index positions of "m" in the string str1.
  • (C) It returns the whole string str1 if it contains "m".
  • (D) It returns the index position of first occurance of "m" in the string str1.
  • Correct Answer - Option(D)
  • Views: 162
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics