DEV Community

Lakshya Tyagi
Lakshya Tyagi

Posted on

Which type of these is not a Core Data Type in Python?

Comment your answer in comment

  1. Dictionary
  2. Tuples
  3. Class
  4. Lists

Top comments (11)

Collapse
 
tominekan profile image
Tomi Adenekan

I am not sure but I believe it is 1. Class because a class is not a method of storing data as much as modeling objects. Please correct me if I am wrong πŸ˜€.

Collapse
 
jchiavaro profile image
Jorge Chiavaro

Class because classes are used to define custom data types. The others are built in types

Collapse
 
stokesm profile image
Matthew Stokes

None of the above?

Class is itself a data type on python. Hence you can dynamically create class definitions.

Collapse
 
lakshyatyagi24 profile image
Lakshya Tyagi

Yes you are correct

Collapse
 
deepak profile image
deepak

3

Collapse
 
toghrulagayev profile image
toghrulAgayev

First thing comes to mind is class. Because other are for to store data. Class is completely different.

Collapse
 
promikecoder2020 profile image
ProMikeCoder2020

A class

Collapse
 
sambhavjindalgithub profile image
Sambhav-Jindal-github

class

Collapse
 
techonerd profile image
Ranjeet Singh

class is not any datatype. Data can be dict, tuple, list but never be a class.

Collapse
 
dibyadarshan8 profile image
Dibyadarshan Rath

3

Collapse
 
bhaskarsrinivask profile image
Bhaskar srinivas Kurukuri

Class