Single Choice Not Set

QWhat will be the data type of x after the following statement?
x = (34, 81, 50)

ID: #3467 Python Data Types MCQ 464 views
Question Info
#3467Q ID
Not SetDifficulty
Python Data Types MCQTopic

Choose the Best Option

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

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

Explanation

  • Tuple is data types in Python used to store collections of data
  • Tuples are used to store multiple items in a single variable.
  • A tuple is a collection which is ordered and unchangeable.
  • Tuples are written with round brackets.

Share This Question

Challenge a friend or share with your study group.