+ 5

How to use isalpha in python?

I want to check a user input for it's consistency with only letters i.e.to check whether there are numbers or characters in the input and return false if there is. I guess isalpha can be used for that. If there is any better way, please feel free to tell me.:)

18th Mar 2018, 4:54 AM
Pasindu Perera
Pasindu Perera - avatar
2 ответов
+ 5
Thanks....☺ appreciate it
18th Mar 2018, 5:18 AM
Pasindu Perera
Pasindu Perera - avatar