How To Turn String Into Int Python Function