-1

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

4
Contributors
3
Replies
25
Views
3 Years
Discussion Span
Last Post by vegaseat
0

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

0

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)

Edited by vegaseat

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.