Level 10 : If a=(1,2,3,4), a[1:-1] is _________

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