Python Check If Number Is In Range