Single Choice
Not Set
QWhat is the data type of x after the following statement?
x = ['Today', 'Tomorrow', 'Yesterday']
ID: #3434
Python Data Types MCQ
756 views
Question Info
#3434Q ID
Not SetDifficulty
Python Data Types MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
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.
- List items are ordered, changeable, and allow duplicate values.
- To determine how many items a list has, use the
len()function. - List items can be of any data type.
- A list can contain different data types.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic