Just a quick answer after some pretty hefty research on the topic - Is there a way in python to stop users inputting decimal numbers?
I.e if i had the following:
user = input("Please input a number")
how could i stop them doing...
user = 0.5
I know theres the int(x) function but i don't think that would stop the user. I was thinking maybe an If statment to say if its a decimal print a message to say whole numbers only...