Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- countries = input().split(", ")
- capitals = input().split(", ")
- countries_capitals = dict(zip(countries, capitals))
- for country in countries_capitals:
- print(f"{country} -> {countries_capitals[country]}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement