Level 9 : What does this print?


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

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