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