Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- country_names = input().split(", ")
- capital_names = input().split(", ")
- dictionary = {country_names[i]: capital_names[i] for i in range(0, len(country_names))}
- for country, capital in dictionary.items():
- print(f"{country} -> {capital}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement