xxxxxxxxxx
24
let j = [0,2,3,5,6,8];
function setup() {
createCanvas(400, 400);
}
function draw() {
noLoop();
background(220);
for(let a of j){
for(let b of j){
for(let c of j){
for(let d of j){
let first = str(a) + str(b);
let second = str(c) + str(d);
let last = str(int(str(a) + str(b)) - int(str(c) + str(d)));
if (last[1] == undefined){last[1] = 0}
console.log(first,second,last[0],last[1])
}
}
}
}
}