← back to unit
Easy
# searching easy
Did Everyone Pass?
The whole team studied together — did the plan work? 📚
You get a list of scores and the passmark. Print party time if every score is at least the passmark, otherwise study group.
Example:
Input: scores = [70, 85, 90], passmark = 65
Output: party time
Every score (70, 85, 90) is at least 65, so nothing knocks the "all passed" flag down — print party time.
💡 need a hint?
srch-did-everyone-pass.py🔒 given lines are locked — write your code in between
loading...