To write a python program to find the distance two 2 points
import math
store the value of coordinates in the variables
Substitute the values in the distance formula
store the result in a variable
print the result in decimal format
import math
first_point = [4, 2]
second_point = [10, 6]
distance = math.sqrt((second_point[0] - first_point[0])**2 + (second_point[1] - first_point[1])**2)
print(f"{distance:.2f}")
Thus the program is successfully executed