CBSE Class 12 Computer Science Question 38 of 105

Python Revision Tour II — Question 17

Back to all questions
17
Question

Question 17

Identify the valid declaration of L:

L = ['Mon', '23', 'hello', '60.5']

  1. dictionary
  2. string
  3. tuple
  4. list
Answer

list

Reason — A list can store a sequence of values belonging to any data type and enclosed in square brackets.