Level 9 : Which of the following can be used to remove empty strings in a list?

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