Level 3 : What is the output of following code?


p =['a','b','c']
res = ''.join(k)
print(res)

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