Level 10 : What does this print?


lst = [1, 2, 3]
result = lst + lst[::-1]
print(result)

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