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