Single Choice Not Set

QWhat will be the data type of y after the following statements?
x = [1, 2, 3, 4]
y = tuple(x)

ID: #4005 Python Data Types MCQ 366 views
Question Info
#4005Q ID
Not SetDifficulty
Python Data Types MCQTopic

Choose the Best Option

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

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

Explanation

Tuple

Share This Question

Challenge a friend or share with your study group.