I tried to build a truth table generator for practice. Here is what I wrote:
from itertools import product, tee def variables_truth(num=2): #Return a li