Level 10 : What does this print?


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

Author: SandhyaR | Tags: list | 1736+ Python FAQs | Share
oop | list-comprehension | init | set-operation | match | integer | assert | invalid-list | update | frozenset | return-statement | higher-order-function | nested-loop | min-function | file_handling | error | pseudocode | virtual-environment | shallow-copy | decimal | python-django | print | variable | loop | arithmetic-operation | pep | global-keyword | global-variable | list | memory-management | software-design | memory | counter-function | raise | sys | mysql | matrix | multithreading | while-and-for-loop | list-operation | with-statement | lambda-function | arithmetic-expression | string-concatenation | generators | polymorphism | while-else-loop | stack | numeric | immutability | name-mangling | feature | datetime | matplotlib | dictionaries | syntaxerror | generator | __all__-attribute | input-function | identity-operator | inherit | built-in-function | boolean-and-non-boolean | class-and-inheritance | yield | formal-and-actual-parameter | binary-operation | assignment-operator | def | descriptors | application | dictionary | multiprocessing | identifier | recursion | operand | floating-point-precision | generators-in-python | array | indexing | precedence-and-associativity | copy | identity-operator | escape-operator | for | asyncio-module | syntax | built-in | zip-function | gil | factorial-function | filter | lists | numpy | library | functional-programming | sorted | python-repl | classes | comparison | async | string-slicing | type-conversion | thread | pickling-&-unpickling | odd-number | type-conversion | implementation | heap-memory | slicing | zfill-function | statement | string | boolean | file | binary | postfix | scientific-notation | max-min | string-iteration | __future__ | function | module | string-formatting | control-flow | operator | indentation | list-comprehension | objects | design-principle | command-line-parsing | min-max-function | mapping-function | methods | loop-control | basic | namedtuple | data-structure | bitwise-operator | join | touples | keyword | built-in-function | collection | operator-overloading | function-and-scope | syntax-error | regex | python_version | sorting | benefit | list-slicing | turtle | access-modifier | sum-function | python-history | default-mutable-argument | functions | sys-module | immutable-data-type | random-function | interpreter | installation | string-manipulation | choice | __init_subclass__ | mathematics | decorator | while-loop | destructor | type_conversion | operator-and | else-statement | overflow | operator-or | mutable | call | syntax-error | threading | data_structure | compute | multiple-inheritance | recurssion | filter-function | docstring | id-function | encapsulation | range | mathematical-function | control-statement | version | list-join | typeerror | class-and-object | pandas | center | conditional-statement | list-mutation | file-handling | virtual-environment | version-check | method | import-method | expression | exception | comprehension | python-module | logical-operator | append | parameter | bitwise | regular-expression | asyncio | debugging | error-handling | collections | random | split | zip | context-manager | python | sum() | matrix-list-comprehension | operations | string-method | format | class | bitwise-operator | staticmethod | magic-method | object-attribute | list-vs-tuple | fabs-function | class-and-instance-variable | complex-number | condition | global-variable | lambdas | data-structure | exponentiation | loops | slice | function-argument | list-method | string-slicing | rollback | input | attribute | head-and-tail | control-flow | round | math-copysign | package-management | string-formatting | string-method | oops | exception-handling | enumerate() | deep-copy | exception-handling | namespace | conditional-statement | operators | map-function | file-handling | tuple | swapping | inheritance | counter | global | iterable | print-statement | precedence | logical-operation | data-structures | dicts | data-type | iterator | math | tuple-unpacking | conversion | datatype | set | input-function | constructor | static-method | data-type | lambda | comment | round-function | complex | expand-tab | goto-function | logical-operator | encoding | int | list-indexing ...