Single Choice Not Set

QWhat is the data type of x after the following statement?
x = [7, 8, 9, 10]

ID: #3433 Python Data Types MCQ 839 views
Question Info
#3433Q ID
Not SetDifficulty
Python Data Types MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A List
  • B Dictionary
  • C Tuple
  • D String
Correct Answer

Explanation

  • Lists are created using square brackets.
  • List is built-in data types in Python used to store collections of data.
  • Lists are used to store multiple items in a single variable.

Share This Question

Challenge a friend or share with your study group.