How do you plan to solve it?
Connect each switch between input pin and GND, each LED with resistor between output pin and GND, then use code logic to display AND, OR, NAND, NOR on LED
/*Paste your code here*/ https://wokwi.com/projects/443180081860897793
Add a video of the output (know more)
Submit Your Solution