Which of the following is an invalid datatype in Python?

(a) Set

(b) None

(c) Integer

(d) Real

 

Answer:

Python data types are:

Python data types -Teachoo.png

Checking the options:

  • (a) Set - Valid data type in python
  • (b) None - Valid data type in python
  • (c)Integer - Valid data type in python
  • (d)Real - Invalid data type in python

So, the correct answer is (d).

Remove Ads
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.