The Cigna Group Interview Question

Coding question related to Python