Question: 6) For each variable result1 through result5, create a print statement explaining what value will end up stored in that variable. It should look like:

6) For each variable result1 through result5, create a print statement explaining what value will end up stored in

that variable. It should look like:

- result1 will be ANSWER because YOUR EXPLANATION

- result2 will be ANSWER because YOUR EXPLANATION

- result3 will be ANSWER because YOUR EXPLANATION

- result4 will be ANSWER because YOUR EXPLANATION

- result5 will be ANSWER because YOUR EXPLANATION

"""

X = 0

Y = 1

A = '0'

B = 'dog'

C = ''

result1 = X or Y

result2 = X and Y

result3 = X or A

result4 = A and B

result5 = not A and B and C

print("6)")

# YOUR CODE FOR 6) GOES HERE

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!