Reverse Array Using Python For Network