Problem of display in a " for" loop

Thanks

it don t change anything without been outside draw {}. it s write everything and display at the end

but may be the solution is to indicate the index (a) in the text fonction so students will understand the loop even if it s not like i would like

thanks and have a nice evening (it s 21 here)

Sébastien