Reverse Array In Python Using Input