Second Max Element In Array Python Definition