Level 10 : What does this print?


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

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