Informatics Practices

Given A = "[22, 4.88, "India", "T"]" the data type of A is

  1. List
  2. String
  3. Dictionary
  4. Tuple

Python List Manipulation

1 Like

Answer

String

Reason — In Python, A = "[22, 4.88, "India", "T"]" represents a string because it is enclosed in double quotes (").

Answered By

3 Likes


Related Questions