What is output of the code in Python Language: >>> str1 = 'All the Best' >>>…

PYQ DSSSB 2021

What is output of the code in Python Language: >>> str1 = 'All the Best' >>> str1[-3]

  1. A.

    'l'

  2. B.

    'e'

  3. C.

    'h'

  4. D.

    'B'

Attempted by 1260 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…