If Str is a Python string as Str ='Hello World!' What will be the output of…

PYQ KVS TGT/PGT 2023

If Str is a Python string as Str ='Hello World!' What will be the output of the following Python Command? print(Str.find('l'))

  1. A.

    2

  2. B.

    3

  3. C.

    [2, 3, 7]

  4. D.

    (2, 3, 7)

Attempted by 1728 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…