I am very new to Python I have a function Then I have a list named I want to get the amount of the results of the Can anyone help me with that? Thanks! If you are new to python then use If you are confused what's here, DISTANCE (lat1, long1, lat2, long2) which calculates the distance between 2 digits. POINTS , where each value is the second list containing those four values. DISTANCE function for all the values inside POINTS .
for loop POINTS: res = DISTANCE (* item) result.append (res) print (amount) results for
results = [] item * , you should read
Comments
Post a Comment