πŸ“Š Python
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.
πŸ’¬ Discuss
βœ… Correct Answer: (D) It returns the index position of first occurance of "m" in the string str1.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
218
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
90%
Success Rate