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