The numbers 1, 2 and 3 are whole numbers and are represented as Integers in Python.
Decimal numbers are represented with a . between the numbers dividing the number into its whole part and decimal part.
Decimal numbers are known as Floats in Python. For example 5.333 is a decimal represented by the float data type in Python.
We can also perform all arithmetic operations we performed on integers on floats.
Addition:
We can also combine Integers and Floats while performing arithmetic operations:
Multiplication: