Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number = str(232)
- number1 = number[:: -1]
- if number == number1:
- print("Это палиндром")
- else:
- print("Это не палиндром")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement