Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- locations = [["aus.1", "aus.2", "aus.3"],
- ["chn.1", "chn.2", "chn.3"],
- ["sat.1", "sat.2", "sat.3"]]
- for i in locations:
- for val in i:
- print(val)
- locations = ["austx", "chntx", "santx"]
- lists = {"austx": ["aus.1", "aus.2", "aus.3"],
- "chntx": ["chn.1", "chn.2", "chn.3"],
- "santx": ["sat.1", "sat.2", "sat.3"]}
- for i in locations:
- lst = lists[i]
- for val in lst:
- print(val)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement