CBSE Class 11 Computer Science Question 33 of 82

Lists in Python — Question 13

Back to all questions
13
Question

Question 13

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

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

String

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