Pringó durante el examen porque no había estudiado.

[details=“English Translation”]He blew it during the exam because he hadn’t studied.
[/details]

I wonder, should this rather be “La pringó”?

pringarla
loc. verb. coloq. Estropear o malograr algo por haber cometido una torpeza o un desacierto.

https://dle.rae.es/pringar