Level 10 : what is the output of the following code?


x = ['ab', 'cd']
print(len(list(map(list, x))))

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