Correct option is C
In Python,
class is not a core data type. It is a user-defined blueprint for creating objects. Core data types in Python include
int,
str,
list,
tuple,
dict, and
set, which are predefined and directly supported by the language.
Important Key Points:
1.
Core data types in Python: These include basic data types like int (integer), str (string), float, list, tuple, set, and dictionary.
2.
Class: A class in Python is not a data type but a blueprint for creating objects and is defined using the class keyword.
3. Python supports dynamic typing, allowing developers to define custom classes and objects, but these are not part of the core data type set.
Knowledge Booster:
·
int: A core data type used for integers.
·
str: A core data type used for strings.
·
list: A core data type used for creating mutable, ordered collections.