Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- some_dict = {"Bulgaria": "Sofia", "Italy": "Rome", "The Netherlands": "Amsterdam"}
- for key, value in some_dict.items():
- print(f"{key}: {value}")
- some_dict["Bulgaria"] = "Plovdiv"
- some_dict["Greece"] = "Athens"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement