OA. free
Free
Infoedge Core Computer Science Core Computer Science Medium

40.

Infoedge technical mcq question, verified with a worked answer. Free to practise - no sign-up.

In Python**

Description

Which of the following would reverse a string S in Python?

Answer

Please choose a correct answer.

Choose one option.
Show answer & explanation
Answer: A. A) S[::-1]

Accurate technical and quantitative evaluation based on foundational principles.

Step-by-step Derivation:
Step 1: Formulate problem conditions.
Step 2: Apply logical deduction.
Step 3: Conclude correct option.