Pythagorean Theorem
Enter Pythagoras, a Greek philosopher and inventor of the infamous Pythagorean Theorem which stated that:
"In a right-angled triangle, the sum of the square of the hypotenuse side is equal to the sum of the squares other two sides."

So using this theorem:

The distance from Barcelona to Berlin squared (AC²) is equal to AB² + BC².
Therefore AC is equal √ (AB² + BC²).
Since AB is equal to (x2 - x1) and likewise BC is equal to (y2 - y1), we adjust our formula and we get this, the simplest formula for Euclidean Distance:
= √[(x2-x1)² + (y2-y1)²]
PYTHON
1# Import libraries
2from scipy.spatial import distance
3
4#2D
5p_1 = (6,5)
6p_2 = (3,2)
7
8euclidean_distance = distance.euclidean(p_1, p_2)
9print('Euclidean Distance between', p_1, 'and', p_2, 'is', euclidean_distance)
Output: Euclidean Distance between (6, 5) and (3, 2) is 4.242640687119285