why my code is always giving the same result i.e ' the string is not a palindrome' : <p>my code always give the same result i.e. 'the string is not a palindrome'
why is this happening?
but the reversing of string is working properly</p>

<pre><code>original = input('enter string: ')
index = len(original) - 1
reverse_string =" "
while index &gt;= 0 :
    reverse_string += original[index]
    index = index - 1

print('reverse string:', reverse_string)

if (reverse_string == original):
     print("it's a palindrome:")
else:
     print("it's not a palindrome:")
</code></pre>
