Comment créer un entier valider Python
try:
value=int(input("Type a number:"))
except ValueError:
print("This is not a whole number.")
Clean Capuchin
try:
value=int(input("Type a number:"))
except ValueError:
print("This is not a whole number.")