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

If Statements Review Assignment

a = ["spam", "ham", "eggs"]
b = ["spam", "ham", "eggs"]
if a is b:
    print("True")
else:
    print("False")Figure A
You answeredJUST NOW
  • I want to share my response with my peers
  • Share as
    (Student name)
    Options
    • (Student name)
    • Anonymous

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAUG 11, 2021, 9:23:22 AM

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
Select one of the following options:
  • A.
  • B.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

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