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

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