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


x = [34, 56]
print(len(map(str, x)))

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