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