Computer Science

Identify the valid declaration of L:

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

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

Python List Manipulation

1 Like

Answer

list

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

Answered By

2 Likes


Related Questions