13/13
Part 4 of 4 · On your ownCheck yourself
Check yourself
5 questions
  1. 1.You've read a coding question and the editor is empty. What comes first?

  2. 2.Why write the plainest correct version before a fast one?

  3. 3.In the one-pass first_repeat, why check x in seen before seen.add(x)?

  4. 4.sorted(names, key=lambda n: (scores[n], n), reverse=True): how do ties come out?

  5. 5.In a class for a coding build, where does the data that every method uses live?

That's the lesson.