I want to write this in algorithm2e pseudocode:
Do N times
stuff that has to be done N times
end
or maybe
Repeat N times
stuff that has to be done N times
end
Since the loop body does not depend on a loop index, introducing one (like in a typical "for" loop) seems overkill.
My current best solution is
\For{$N$ times}{
do stuff
}
but the output, "for N times do" is unclear.
(there are Do and Repeat commands in algorithm2e, but they both use end conditions: Do...while and Repeat...until, so not what I'm looking for.)

\Repeat, so you should have a look at the package's documentation. – TeXnician Jun 02 '18 at 17:18