limited loop

hi every one
i need to emit a LED then make off
this operation continoue for ten times only

(deleted)

That's what for is for.