Answers for "how to check if certain letters are in a string python"

2

python check if character is letter

>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
Posted by: Guest on October-19-2020
0

python check if string contains symbols

any(not c.isalnum() for c in string)
Posted by: Guest on September-23-2021

Code answers related to "how to check if certain letters are in a string python"

Python Answers by Framework

Browse Popular Code Answers by Language