Python Check If Number Is Integer