+ 3
Removing non alphabetic characters
How to remove non alphabetic characters from a string in python
3 Respostas
+ 6
print("".join(_ for _ in input() if _.isalpha()))
or
new_string = "".join(_ for _ in old_string if _.isalpha())
+ 2
Thanks😋😍😍
How to remove non alphabetic characters from a string in python