Level 9 : What does this print?


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

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