Convert Input Into Integer Python Definition Range