write a program in python that gets the word from the user and tells them if it is a parindrome or not.your program should not care about capitalization

Recommended Answers

All 3 Replies

You forgot your code and question.

It sounds like we are being given an assignment to "write a program" etc. for someone else. Not a good way to get assistance.

Hint ...

text = 'Houseboat'
text = text.lower()

text_rev = text[::-1]

print(text)
print(text_rev)

print('-'*20)

text = 'Racecar'
text = text.lower()

text_rev = text[::-1]

print(text)
print(text_rev)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.