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


day = ["Sunday", "Monday", "Tuesday", "Wednesday"];
print(day[-3:-1])

Author: anusha | Tags: string | 1736+ Python FAQs | Share
operations | file-handling | binary | sum-function | access-modifier | tuple | iterator | __init_subclass__ | fabs-function | mathematical-function | destructor | class-and-inheritance | boolean-and-non-boolean | round | exception-handling | shallow-copy | functional-programming | join | matrix | arithmetic-operation | staticmethod | pickling-&-unpickling | copy | bitwise | dictionaries | scientific-notation | collections | encoding | functions | goto-function | file | class-and-instance-variable | pep | data-type | random | turtle | syntaxerror | counter-function | input-function | stack | sorting | iterable | logical-operator | input-function | built-in-function | call | asyncio-module | built-in-function | lambda-function | string-method | regular-expression | comparison | postfix | comprehension | immutability | math-copysign | lambdas | init | zip-function | variable | format | static-method | touples | lambda | overflow | floating-point-precision | oop | global | global-keyword | file_handling | data_structure | generators-in-python | syntax-error | keyword | choice | escape-operator | data-type | __future__ | global-variable | match | import-method | lists | append | control-flow | nested-loop | expand-tab | operator-overloading | datatype | python-django | implementation | application | update | matplotlib | numpy | data-structure | else-statement | regex | while-and-for-loop | global-variable | multiprocessing | class-and-object | memory | library | logical-operation | version | deep-copy | bitwise-operator | classes | software-design | list-vs-tuple | integer | precedence | conversion | syntax | function-argument | installation | set-operation | async | decimal | binary-operation | enumerate() | inherit | data-structure | logical-operator | parameter | bitwise-operator | complex-number | with-statement | attribute | loops | python-repl | version-check | matrix-list-comprehension | id-function | memory-management | collection | file-handling | identity-operator | conditional-statement | function-and-scope | function | frozenset | name-mangling | recurssion | constructor | typeerror | module | python_version | math | design-principle | numeric | python-history | zip | string-manipulation | type-conversion | polymorphism | range | operator-or | operator | comment | datetime | default-mutable-argument | formal-and-actual-parameter | pandas | raise | threading | virtual-environment | python | methods | yield | feature | boolean | command-line-parsing | basic | string-method | list-comprehension | indentation | type_conversion | list-operation | max-min | statement | oops | operand | debugging | string-iteration | context-manager | min-max-function | list-method | mathematics | min-function | precedence-and-associativity | error | head-and-tail | expression | higher-order-function | loop | namespace | gil | tuple-unpacking | for | type-conversion | sorted | descriptors | multithreading | loop-control | list-slicing | list-indexing | asyncio | control-flow | filter-function | operators | virtual-environment | exception | recursion | decorator | generators | compute | error-handling | random-function | built-in | namedtuple | string-slicing | slice | input | string-concatenation | inheritance | identifier | dictionary | print | round-function | exception-handling | def | while-else-loop | encapsulation | assignment-operator | pseudocode | while-loop | object-attribute | benefit | multiple-inheritance | interpreter | generator | exponentiation | swapping | control-statement | method | indexing | map-function | list-mutation | array | sum() | assert | print-statement | syntax-error | list-join | python-module | zfill-function | list | conditional-statement | condition | arithmetic-expression | heap-memory | counter | mapping-function | package-management | sys | objects | slicing | odd-number | center | data-structures | immutable-data-type | identity-operator | docstring | string-slicing | rollback | factorial-function | split | __all__-attribute | sys-module | filter | string-formatting | list-comprehension | mysql | int | string | complex | return-statement | operator-and | string-formatting | magic-method | set | dicts | thread | invalid-list | mutable | class ...