how to create an integer validate python

Solutions on MaxInterview for how to create an integer validate python by the best coders in the world

showing results for - "how to create an integer validate python"
Davide
26 Aug 2018
1try:
2    value=int(input("Type a number:"))
3except ValueError:
4    print("This is not a whole number.")
5