0
import numpy as np
data ='''0,9 -> 5,9
8,0 -> 0,8
9,4 -> 3,4
2,2 -> 2,1
7,0 -> 7,4
6,4 -> 2,0
0,9 -> 2,9
3,4 -> 1,4
0,0 -> 8,8
5,5 -> 8,2'''
##Parsing Data
start = []
end = []
for row in data.split('\n'):
x1 = row.split('-')[0].split(',')[0]
y1 = row.split('-')[0].split(',')[1]
sta...