Second Maximum Element In An Array In Python Definition