Level 10 : What does this print?


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

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