Python Code Test Cases Failing

Job ID: 38176034

Budget: ₹600 – ₹1,500 INR

Two test cases are failing in Python code, Attaching the code, I want them to pass the test cases
Related categories: Python Software Development