Write a program in Python to check if a sequence is a Palindrome.
def is_palindrome(seq):
seq = seq.lower() # Convert to lowercase for case-insensitive check
return seq == seq[::-1]
sequence = "racecar" # Replace with your sequence
if is_palindrome(sequence):
print(f"{sequence} is a palindrome.")
else:
print(f"{sequence} is not a palindrome.")