I was fortunate enough to be in that generation when computers were first a thing, and teachers didn't quite get them, so they were okay with you writing lines using a computer.
10 FOR X=1 TO 100
20 LPRINT "I must not use a computer to get out of writing lines"
30 NEXT X