New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Code that extract string only
print (''.join(x for x in input() if x.isalpha()))
1 Answer
+ 1
Nice! Thanks for sharing!
I really need to spend more time getting familiar with Python.