for {set i 0} {$i < 750} {incr i} { puts -nonewline "$i " if { $i % 5 == 4 && $i != 0} { puts "GOOD " } }
added two conditions. and use nonewline to get your ouput format.
$i % 5 == 4 && $i != 0