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

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