Doubt regarding a quiz

What is the output of the following code?

print([‘a’, ‘b’, ‘c’] == [‘c’, ‘a’, ‘b’]

  • True
  • False!
  • No Output
  • Error
    in this how false is correct?
    but wen i run in vs code its showing as type error

@thaseenraza1210

You are giving print in first part ,you need to print the other list also,
So give print after ==

understood ma’amm…thanquh

1 Like