Java Square Root Program In Python For Palindrome