CBSE Class 9 Computer Applications Question 5 of 23

Introducing Python — Question 3

Back to all questions
3
Question

Question 3

Which of the following functions will you use to find out the type of a variable ?

  1. datatype( )
  2. type( )
  3. typeof( )
  4. dtype( )
Answer

type( )

Reason — The type( ) function is used to find out the type of a variable.