I have been trying to find out ways to check about variable types or while do statements but I got confused and didn't know what's going on, on my code. I want to check if end is an integer so I made up my mind with this. Thanks a lot!!
checked=0
while (checked==0):
end=input('Give me an integer number!')
if isinstance(end,(int)):
checked=1
else:
checked=0
print('This is not an integer!')