Computer Science - Class 12
Solutions to CBSE Sample Paper - Computer Science Class 12

Which of the following is an invalid datatype in Python?

(a) Set

(b) None

(c) Integer

(d) Real



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).

Go Ad-free
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.