Skip to content

Commit a8d6bef

Browse files
Update distance_calculator.py
1 parent af89da4 commit a8d6bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distance_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Importing module(s)
1111
import math
1212
# Calculate distance
13-
def calculate_distance(start_x, start_y, end_x, end_y):
13+
def calculate_distance(startX, startY, endX, endY):
1414
return math.sqrt(math.pow(startX - endX, 2) + math.pow(startY - endY, 2))
1515

1616
# Main loop

0 commit comments

Comments
 (0)