Identify the result of running this Python code: game="olympic2024";…

PYQ Bihar STET 2025Modified — slightly modified from the official paper; see the solution

Identify the result of running this Python code: game="olympic2024"; print(game.index("C"))

  1. A.

    0

  2. B.

    6

  3. C.

    -1

  4. D.

    valueError

Attempted by 501 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bihar Stet Computer Science Complete Course

Loading lesson…