Your code is testing whether the entered number is divisible by 10.
To test whether a number is an integer, try comparing it to its
if num_a == math.trunc(num_a):
You'll need to make sure you have
at the top of your code.
Otherwise, if you have to stick with the modulo operator, test whether the number is divisible by
if num_a % 1 == 0: