Advertisement
k1alo

oct6.10

Oct 4th, 2023
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. number = str(232)
  2. number1 = number[:: -1]
  3. if number == number1:
  4.     print("Это палиндром")
  5. else:
  6.     print("Это не палиндром")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement