Print First N Elements Of Array In Python