Solved

We've Replaced the Results of the Four List Comparisons in Snippets

Question 11

Multiple Choice

We've replaced the results of the four list comparisons in snippets [4] through [7] below with ???. What are those four values? In [1]: a = [1, 2, 3]
In [2]: b = [1, 2, 3]
In [3]: c = [1, 2, 3, 4]
In [4]: a == b
Out[4]: ???
In [5]: a == c
Out[5]: ???
In [6]: a < c
Out[6]: ???
In [7]: c >= b
Out[7]: ???


A) False, True, False, False.
B) True, False, False, True.
C) True, False, True, True.
D) True, True, True, False.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions