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

You forgot your code and question.

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.