More like a program that takes
This object of this famous puzzle is to move N disks from the left peg to the right peg using the center peg as an auxiliary holding peg. At no time can a larger disk be placed upon a smaller disk.
as input and returns the Prolog code as output.
More like a program that takes
as input and returns the Prolog code as output.