Answers for "if string contains the letter a python"

0

check if string contains alphabets python

import re
print(re.search('[a-zA-Z]', "anything"))
Posted by: Guest on April-23-2021
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 "if string contains the letter a python"

Python Answers by Framework

Browse Popular Code Answers by Language