-
-
Save fatosmorina/279b1455061661cbb129b314310c88e0 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
odd_values = [value for (key, value) in dictionary.items() if value % 2 == 1] | |
print(odd_values) # [1, 3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment