Yngvarr

Generation

generate functionTue, 14 Feb 2023

01 to 1

function binarize($a) { return ($a == 0) ? 0 : 1; } binarize(0); binarize(1); binarize(2); binarize(3); binarize(4);

Questions about programming?Chat with your personal AI assistant