Level 10 : What does this print?


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

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