Advertisement
JakNowy

Untitled

Oct 16th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. lista = []
  2. for n in range(len( T1)):
  3. for m in range(len(T1)):
  4. miasto=T0[n],T0[m]
  5. x=T1[n]-T1[m]
  6. y=T2[n]-T2[m]
  7. odl=math.hypot(x,y)
  8. lista.append((miasto, odl))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement