Level 10 : What does this print?


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

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