$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #181

What is the output?

print('a' in ['ab', 'a'])
  1. True
  2. False
  3. None
  4. Error
On a list, in tests membership of whole elements — and 'a' is one of them.
Play Problem Solving ▸