In computer science, the Tak function is a recursive function, named after Ikuo Takeuchi. It is defined as follows:
def tak:
if y < x:
return tak
else:
return z
This function is often used as a benchmark for languages with optimization for... Wikipedia