Learn Python
WIP Course Work
7.20
Lesson

WIP Identifying Type of Variable

We can check the type of our variable by using built in type function. Sone of the commonly used data types are: int - integer, float - decimal, str - string, bool - boolean.

In this example we have created three variables banana, mango and grapes with assigned values. We are checkinhg the type of these variables and printing the type.