Python Variables and Data Types Quiz for Beginners – Test Your Basics

Exam Center
Question 1 of 10
+2 Correct -0.00 Incorrect Single Correct

4. What data type does the type() function return for the following?

x = (1, 2, 3)

print(type(x))

Explanations & Review:

<class 'set'>

<class 'list'>

<class 'tuple'>

<class 'dict'>

Remaining Time
00:00
OMR Question Palette
1
2
3
4
5
6
7
8
9
10
STATUS LEGEND
Not Visited
Unanswered
Answered / Locked
Marked for Review
Exam Summary
Total Questions: 10
Answered / Locked: 0
Marked for Review: 0
Unanswered (Visited): 0