Answers for "if word does not contain a letters python"

0

python string does not contain

str = '£35,000 per year'
# check for '£' character in the string
'£' not in str
# >> False
'£' in str
# >> True
Posted by: Guest on November-05-2020

Code answers related to "if word does not contain a letters python"

Python Answers by Framework

Browse Popular Code Answers by Language