You can use this assignment in your class!
Mastery Progress(100.0%)
i

Programming Using Python Day 2 Review

a = ["spam", "ham", "eggs"]
b = ["spam", "ham", "eggs"]
if a is b:
    print("True")
else:
    print("False")Figure A
You answeredJUST NOW

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Instructor Alec KretchJUN. 10, 2021 AT 11:41 AMstarTop Answer

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
  • a = ["spam", "ham", "eggs"]
b = ["spam", "ham", "eggs"]
if a == b:
    print("True")
else:
    print("False")Figure B
  • A.
  • B.

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.