Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create an integer validate python

try:
    value=int(input("Type a number:"))
except ValueError:
    print("This is not a whole number.")
Source by www.101computing.net #
 
PREVIOUS NEXT
Tagged: #create #integer #validate #python
ADD COMMENT
Topic
Name
2+1 =