1. Boolean Logic
Below there are three Boolean variables, p, q and r. Construct code that prints True if exactly two of the variables is True and prints False otherwise (if 0, 1, or 3 are true). Do this two different ways:
• Using logical connectives: and, or, not
• by using type conversion to integers
[2] p,q,r = True, True, True
[False
False