Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. new_lines = []
  2.  
  3. ro = 0
  4. for location in this_route:
  5. for line in regular_items:
  6. if line["Location"][:5] == location:
  7. line["Route"] = ro
  8. new_lines.append(line)
  9. ro += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement