Level 1 : What will be the output of the following code snippet?


example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
del example[2]
print(example)

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