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