Simple Input Doubt 1


this is my answer of simple input problem in challenges- fundamentals and patterns
two test cases are failing. Can you tell me what’s wrong with my code?