Level 1 : Given d = {10: 'X', 20: 'Y', 30: 'Z'}, which statement correctly deletes key 20?

Author: SandhyaR | Tags: dictionary | 1859+ Python FAQs | Share
test-discovery | context-manager | control-flow | dictionary-methods | creating-and-starting-threads | default-mutable-argument | comprehension | complex-number | list-method | datetime.date,-datetime.time,-datetime.datetime | design-principle | list-slicing | bitwise-operator | multiple-except-blocks | module | postfix | decimal | joining-and-merging-dataframes | logical-operation | print | pickling--unpickling | aggregating-data-with-functools.reduce() | list-vs-tuple | data-types | __all__-attribute | multiple-inheritance | objects | descriptors | match | identity-operator | loop-control-statements | encoding | iterator | method | keyword | namespace | data_structure | map-function | loops | arithmetic-operation | input-function | import-method | assignment-operator | conditional-statements | precedence-and-associativity | mathematics | polymorphism | operations | overriding-methods | class-and-inheritance | collection | membership-operators-(in,-not-in) | int | python-django | walking-through-directories-using-os.walk() | global-variable | round | regex | sys | shallow-copy | append | head-and-tail | exception-handling | counter-function | recurssion | dictionary | sorting | heap-memory | asyncio | return-statement | conversion | data-type | python-operators | enumerate() | inherit | nested-loop | reading:-read(),-readline(),-readlines() | recursion | async | filter-function | error-handling | oop | reading-and-writing-files | for | indentation | application | numeric | integer | list-comprehensions | control-statement | slicing | list-methods-and-slicing | bitwise | set | conditional-statement | string-slicing | escape-operator | round-function | matrix | floats | thread | operator | type-conversion | indexing:-loc-vs-iloc | numpy | while-loops | data-structures | library | using-lists-as-stacks | package-management | difference-between-threads-and-processes | booleans | benefit | control-flow | functions | string-iteration | mapping-function | comment | sum() | attribute | turtle | directory-operations | class-decorators | rollback | def | dictionaries | magic-method | operator-or | binary-operation | tuple | complex | statement | set-operation | access-modifier | defining-functions | collections | raise | string | data-type-conversions | random-function | arithmetic-expression | handling-missing-values-(fillna,-dropna) | thread-synchronization | python-syntax-and-structure | integers | inheritance | docstring | lambda | exponentiation | intering | expression | input-function | comparison | else | data-structure | assignment-operators | virtual-environment | key-value-pairs | dataframe-and-series-objects | id-function | introduction-to-multiprocessing | using-map()-for-transformations | identity-operator | boolean | string-method | built-in | sum-function | type_conversion | constructor | random | object-attribute | working-with-binary-files-(rb,-wb) | choice | matrix-list-comprehension | operators | single-inheritance | class-and-object | advanced-file-operations | binary | arbitrary-arguments-(*args,-**kwargs) | why-use-multiprocessing-over-threading?-(gil) | strings | compute | pep | classes | literal-characters-and-special-characters | operator-overloading | type-conversion | data-structure | working-with-temporary-files-using-tempfile | operator-and | min-max-function | using-else-and-finally | variable | center | boolean-masking | static-method | math-copysign | bitwise-operator | mutable | mysql | command-line-parsing | with-statement | using-yield-in-functions | method-overloading | datetime | slice | loop-control | syntaxerror | asyncio-module | update | while-loop | default-arguments | python_version | counter | logical-operator | conditional-statement | memory | boolean-and-non-boolean | copy | condition | dictionary-comprehensions | __future__ | dicts | built-in-modules | destructor | built-in-function | string-concatenation | methods | memory-management | while-and-for-loop | call | creating-custom-modules | math | tuple-methods | time-series-with-pandas | zfill-function | mathematical-function | max-min | sets | __init_subclass__ | lists | class | data-structures-in-python | array | basic | opening-files-(open()) | multithreading | class-and-instance-variable | debugging | syntax | assert | decorator | managing-directories-with-os-and-shutil | range | data-type | logical-operator | list-operation | regular-expression | built-in-function | anchors-(^,-$) | higher-order-function | deep-copy | python | syntax-error | swapping | floating-point-precision | writing:-write(),-writelines() | functional-programming | working-with-file-paths | overflow | introduction-to-python | immutability | generator | filtering-and-indexing | using-assertions-(assertequal,-assertraises) | generators | multiple-inheritance | python-module | frozenset | matplotlib | threading | functional-programming | sys-module | python-repl | list-comprehension | function-argument | immutable-data-type | string-slicing | string-formatting | list-comprehension | parsing-with-strptime | exception | goto-function | installation | string-manipulation | list-mutation | encapsulation | invalid-list | string-formatting | factorial-function | lambda-functions | fabs-function | tuples | oops | loop | formal-and-actual-parameter | file-handling | expand-tab | identity-operators-(is,-is-not) | typeerror | software-design | multiprocessing | error | min-function | regular-expressions | odd-number | gil | introduction-to-threads | thread-safe-data-structures-(queue.queue) | while-else-loop | iterators | yield | reading-and-writing-large-files-efficiently | using-the-threading-module | using-os-and-pathlib-modules | lambda-function | function-and-scope | scientific-notation | pseudocode | generators-in-python | identifier | else-statement | global-keyword | zip | namedtuple | staticmethod | global-variable | quantifiers-(*,-+,-?,-{}) | error-handling | version-check | unit-testing | pass | precedence | interpreter | indexing | tuple-unpacking | type-conversion-and-casting | string-methods | init | string-method | list-join | iterable | implementation | virtual-environment | name-mangling | print-statement | pandas | sorted | format | sorting-and-ranking | join | formatting-with-strftime | stack | using-join()-and-is_alive()-methods | feature | list,-set,-and-dictionary-comprehensions | file_handling | version | exception-handling | input | lambdas | syntax-error | file-handling | split | touples | list | filter | function | python-history | file | list-indexing | datatype | global | raise-statement | parameter | zip-function | working-with-dates-and-times | logical-operators | operand ...