Answers for "python check if string contains both letters and numbers"

2

how to check if all characters in string are same python

s == len(s) * s[0]
Posted by: Guest on May-14-2020
0

python check if input contains letters

re.search('[a-zA-Z]', the_string)
Posted by: Guest on September-23-2021

Code answers related to "python check if string contains both letters and numbers"

Python Answers by Framework

Browse Popular Code Answers by Language