Consider the following Python program segment: File =open('Poem.txt, 'r')…

PYQ KVS TGT/PGT 2023

Consider the following Python program segment: File =open('Poem.txt, 'r') T=File.readline( ) Identify the data type of T:

  1. A.

    String (str)

  2. B.

    List

  3. C.

    Tuple

  4. D.

    Dictionary

Attempted by 2122 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…