If we have a string like a32b7
a32b7
I want to print the output as
a b
How can I do so using Python?
You can use isalpha()
isalpha()
s = "a32b7" for i in s: if i.isalpha() : print(i)