Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python check if string contains number

def containsNumber(value):
    for character in value:
        if character.isdigit():
            return False
    return True
Source by codefather.tech #
 
PREVIOUS NEXT
Tagged: #Python #check #string #number
ADD COMMENT
Topic
Name
9+8 =