Home
Random
Log in
Settings
About David's Wiki
Disclaimers
David's Wiki
Search
Python: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Python
(view source)
Revision as of 14:08, 22 January 2020
2 bytes removed
,
22 January 2020
→Dictionaries
Revision as of 14:07, 22 January 2020
(
view source
)
David
(
talk
|
contribs
)
(
→Dictionaries
)
← Older edit
Revision as of 14:08, 22 January 2020
(
view source
)
David
(
talk
|
contribs
)
(
→Dictionaries
)
Newer edit →
Line 230:
Line 230:
# Check if a key is in a dictionary
# Check if a key is in a dictionary
# O(1)
# O(1)
"
1
"
in my_map
1 in my_map
# Check if a value is in a dictionary
# Check if a value is in a dictionary
David
Bureaucrats
,
Interface administrators
,
Administrators
5,321
edits