English

Answer using Python built-in method/function only: Write a statement to find the index of the first occurrence of the substring “good” in a string named review. - Computer Science (Python)

Advertisements
Advertisements

Question

Answer using Python built-in method/function only:

Write a statement to find the index of the first occurrence of the substring “good” in a string named review.

Code Writing
Advertisements

Solution

index = review.find("good")
shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×