3 ms·
By representing all numbers with lists (or sets). 0 = [] 1 = [True] 2 = [True, True] Etc. Then for example addition becomes appending two lists together
by JulianChastain 11mo ago
By representing all numbers with lists (or sets).
0 = []
1 = [True]
2 = [True, True]
Etc.
Then for example addition becomes appending two lists together