In PYTHON write short individual demo codes for each of the
In PYTHON, write short individual demo codes for each of the following logic components:
1. Half Adder
2. Full Adder
3. 2-4 Decoder
4. 4-2 Decoder
Show a picture of your code and your output.
Solution
Above illustration is a half adder circuit and here is the logic for it.
for the full adder circuit,
considering the illustration it is something as below.
