DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python check if number contains digit
for number in numbers: if '4' in str(number): print('{} True'.format(number)) else: print("False")
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#check
#number
#digit
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit