Level 9 : What does this print?


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

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