Nice try, kid ...
flickr.com
flickr.com
I went home and ran the following program on my Apple IIe:
10 FOR X = 1 TO 500
20 ?"I will behave myself in class"
30 NEXT X
PR# 2
RUN
With the printer plugged into slot 2 on the machine, this sent the output of the program to the printer.Needless to say the teacher was not impressed the next day, when I handed in several sheets of linefeed printer paper. I was impressed however.
He made me write it by hand about 100 times instead of 500.
He still carps on about being suspended for a week for refusing to do a word puzzle.
"Funny how much commenting about improving code."
Second sentence should have been:
"We are strange."
Third sentence should have been:
"I laughed anyway."
50.6% as much text.
for x in range(500): print 'I will not throw paper airplanes in class.'
Or perhaps Arc!
Although, I assume the kid forgot the \n in his printf.
prn = print followed by newline
(repeat 500 (prn ...))
?
[spawn(fun() -> print("'I will not throw paper airplanes in class.'") end) || N <- lists:seq(1, 500)]
(0..500).each {|i| print "I will not throw paper airplanes in class\n"}