Chapter 2

Control flow and logic — quiz

5 questions · ~4 min

Chapter 2 quiz

Question 1 of 5

You're writing a helper that returns 'pass' if a user's score is 70 or higher, otherwise 'fail'. Which is the cleanest implementation?