Examveda

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

A. Tuples

B. Lists

C. Class

D. Dictionary

Answer: Option C

Solution (By Examveda Team)

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.

This Question Belongs to Python Program >> Introduction To Python

Join The Discussion

Related Questions on Introduction to Python