diff --git a/Check Palindrome Without Built-in Functions b/Check Palindrome Without Built-in Functions index 5c4543b..6c19d35 100644 --- a/Check Palindrome Without Built-in Functions +++ b/Check Palindrome Without Built-in Functions @@ -1,7 +1,12 @@ -s = input().strip() -rev = "" - -for ch in s: - rev = ch + rev - -print("Palindrome" if s == rev else "Not Palindrome") +print("Enter a string") +s=input() +l=0 +r=len(s)-1 +while l