tidy up output
This commit is contained in:
parent
69784ff0de
commit
d513374a8a
@ -42,6 +42,7 @@ def main
|
||||
$stdout.write("\rGrade: #{last_best}, output: #{programs.first.last.execute.inspect} ")
|
||||
end
|
||||
if programs.first.first == 0
|
||||
puts
|
||||
puts "Program found after #{generation} generations:"
|
||||
puts programs.first.last
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user