Level 9 : What is the output of the following code?


l1=[23,45,56,87]
l2=[34,56, 67,98]
print(l1+l2)

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