Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_lines = []
- ro = 0
- for location in this_route:
- for line in regular_items:
- if line["Location"][:5] == location:
- line["Route"] = ro
- new_lines.append(line)
- ro += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement