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