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

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