A

Admin • 833.24K Points
Coach

Q. What is the data type of the object below?

Code:
X = [0, 2, ‘str’, 1]
  • (A) Tuple
  • (B) Dictionary
  • (C) List
  • (D) Array
  • Correct Answer - Option(C)
  • Views: 30
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

[] define a list

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.