palindrom int
This commit is contained in:
parent
88b4578f7d
commit
4fccbfae3a
3
python-temel/palindrom.int.py
Normal file
3
python-temel/palindrom.int.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
numbers = [12, 1221, 13431, 12345, 197262]
|
||||
a = [number for number in numbers if str(number) == str(number)[::-1]]
|
||||
print(a)
|
Loading…
Reference in New Issue
Block a user