Level 1 : What is the output of the following code?


x = ['ps', 'gd']
print(list(map(upper, x)))

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