A manager uses this function to print employees eligible for…
A manager uses this function to print employees eligible for promotion based on performance: python CopyEdit def eligible_for_promotion(employees): for emp in employees: if emp[“score”] >= 90: print(emp[“name”], “is eligible for promotion.”) If the list passed in contains 10 employees, how many times can this function potentially print a message? OPTIONS: 0B. Between 0 and 10, depending on scoresC. Always 10D. Only once ANSWER: B EXPLANATION:The loop runs 10 times, but only employees meeting the condition (score >= 90) are printed. The actual number of messages printed depends on the input data.
Read Details