Learn Python
WIP Course Work
7.14
Lesson

WIP Identifying Type of the Variable

We can check the type of our variable by using built in type function. Some 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.