Sagility Interview Question

palindrome code in python language