0

I cant seem to be able to remove the numbers please help

Spy life

17th Jan 2020, 1:47 PM
Da Ven
Da Ven - avatar
3 Answers
+ 3
* You didn't save the `join` result into any variable. * `isalnum` filters alphanumeric characters, digits included.
17th Jan 2020, 2:15 PM
Ipang
+ 1
Thanks
17th Jan 2020, 7:37 PM
Da Ven
Da Ven - avatar
0
string = input() ''.join(e for e in string if e.isalnum()) str1 = string[::-1] print(str1)
17th Jan 2020, 1:47 PM
Da Ven
Da Ven - avatar