Numeric Data Type in Python

Types of number variable used in Python

Creating variables – numbers in Python

int_num = 1    # int type number
float_num = 2.8  # float type number
print("Type of int_num: ",type(int_num))
print("Type of float_num: ",type(float_num))