By popular demand, the Valentine's Day Offer has been extended to the weekend Flat 25% off on all courses. Use coupon code VDAY25 During checkout

 Enroll Now

Introduction to Python

37 / 79
   

Python - Guess The Type

We can find out the variable type using type() function. To find out the type of variable "a" the command is

type(a)

Instructions -

Use Jupyter notebook on the right-hand side. Press "Shift + Enter" to run code in individual cells.

  • In the previous exercise, find out the type of area_of_rectangle variable using type() function

  • The type of area_of_rectangle variable is