Maximum Function Count Python Method To Reverse