155k views
3 votes
Which of the following is not a core data type in Python program

a.Dict, Set
b.Number, String, Boolean
c.List, Tuple
d.Class

1 Answer

4 votes

Final answer:

Python core data types and class

Step-by-step explanation:

The correct answer is d.Class. In Python, a dictionary (a.Dict), number (b.Number), string, and boolean are all core data types. A list and tuple are also core data types in Python. However, a class is not considered a core data type, but rather a way to create custom objects with properties and methods.

User Topper Harley
by
7.6k points