Level 1 : What will be the output of the following python code


days = 'Mon, Tue, Wed, Thu, Fri, Sat, Sun'
print(days[::5])

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