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

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