Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def palindrom():
- y = 0
- for i in range(3):
- f = input()
- if f == f[::-1]:
- y += 1
- else:
- print("Простое слово " + f)
- if y > 0:
- print('Палиндром')
- palindrom()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement