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

 

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

Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class

Ask a doubt
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 13 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.