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

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