In Python, we can use many types of
numbers like **integers**, **rational**
and
**complex** numbers.

We call **integers** as **int**, ** rational**
numbers as

**float**, and

**complex**numbers simply as

**complex**.

We can check the type of a
number by using the **type** function.

In the example given below, we have defined the various numbers and checked their types.