Level 10 : What does this print?


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

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