Ad
Strings
Data Types
Arrays

List comprehension is marginally more efficient.

Code
Diff
  • def Special_Fission(input):
        return [i for i in input if i.isalpha()]
    • def Special_Fission(input):
    • input = list(input)
    • return list(filter(lambda x:x.isalpha(),input))
    • return [i for i in input if i.isalpha()]