Vidyalelo
Python · Q44

Python Introduction and basic

Programming · Python · question 44

Q44

Which of the following is not a core data type in Python programming?

A.
Tuples
B.
Lists
C.
Class
Answer
D.
Dictionary

Answer: Option C

Solution

Answer: Option C
Solution:
In Python, the core data types include:
1. Tuples
2. Lists
3. Dictionary
However, Classes are not considered a core data type in Python.
Classes are used to create user-defined data structures that bundle data attributes and methods.
Therefore, the correct option is Option C: Class.