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

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