Leetcode

I'm new to Leetcode. I tried my first solution but i get some issues. I have tried the same code with jupyter notebook and found to be correct.

Can you please help me..

The solution is for #9, palindrome number.

Can you please help me use the leetcode editor???

def ispalindrome(string):
    string1 = string.lower()
    check_string = string1[::-1]
    return (string1 == check_string)
    
string = input("Enter the string :")

palindrome(string)
Comments (0)