Level 10 : What does this print?


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

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