Question: Consider the function my _ and ( a , b ) , which returns True if and only if a and b are Tru Note

Consider the function my_and (a,b), which returns True if and only if a and b are Tru Note this is essentially recreating the already built in "and" operator. Implement the functio my_and (a,b), but only use the two operators: not, or. Hint: consider the expression not and b, reason this out; is there an equivalent way to write it without the use of and?
 Consider the function my_and (a,b), which returns True if and only

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!