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


a = ['he', 'she', 'we']

' '.join(a)

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