Identify the output of the following code segment: S = "an apple. a toy." s =…

PYQ Bihar STET 2025

Identify the output of the following code segment: S = "an apple. a toy." s = S.find('a', 2) print(s)

  1. A.

    0

  2. B.

    1

  3. C.

    3

  4. D.

    'a'

Attempted by 1180 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bihar Stet Computer Science Complete Course

Loading lesson…