Created
February 17, 2019 18:29
-
-
Save solalatus/10ab7f4e6a0ba05a35dfe97c04e3bbc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_dict={"key1":13,"key2":14} | |
assert type(my_dict) == type({}) | |
print(my_dict.keys()) | |
print(my_dict.values()) | |
print(my_dict.items()) | |
for i in my_dict.items(): | |
print(i) | |
for key, value in my_dict.items(): | |
print("key:",key) | |
print("value:",value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment