Prequel
primitive recursive driven programming
Loading challenge...
Deduce the algorithm: Press the Next button a few times and try to figure out an algorithm that expresses the relation between the Input and the Expected result. Edit and Run your Prequel program. Complete the challenge with Retry next. Upload solution to improve the Code golf leaderboard.
Status: unknown
algo.return(algo.input)
ALGO.INPUTNumber or listfrom which the expected result must be calculatedand returned through function ALGO.RETURN.
ALGO.RETURN(result)End computation andcompare the calculated resultagainst the expected result.Succeeds if there is a match; fails otherwise.