In Python there are three types of numbers available.

We can assign these three types of number values to the variables.

Example:

number1 = 90       #integer
number2 = 67.89    #float
number3 = 2j       #complex

Integer

Integer number is always represented as "int" in python. Integer values are numbers that are positive, negative as well as whole numbers.

number1 = 90      
number2 = -9  
number3 = 6785436789       

All of the variables above are integers. They can be any number if it matches the criteria. You can check whether the numbers are integer by using the type.

Float

Float numbers are the numbers with decimal values. It might be either positive or negative. Also it is represented as "float"

number1 = 3.14      
number2 = -9.123