DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python test if string is int
'16'.isdigit() >>>True '3.14'.isdigit() >>>False 'Some text'.isdigit() >>>False
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#test
#string
#int
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit