Python Truth Table Generator
Posted by Al Sweigart in misc
I used an LLM to make a teaching demonstration web app: enter a Python expression using Boolean operators and it shows you the complete truth table for it. For example, you can enter a and b and it shows you all four combinations. Or you can enter ((a or b) and (c or d)) and not (a and d) and it shows you all 16 combinations. It also works offline, so you can save the .html file and use it anywhere. Explore it here: Python Truth Table Generator
