Level 9 : What will be the output of the following Python code?


A = [[1, 2, 3],
     [4, 5, 6],
     [7, 8, 9]]
B = [[3, 3, 3],
     [4, 4, 4],
     [5, 5, 5]]
zip(A, B)

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