Discuss / Python / Answers from Maplin on 2022-11-24

Answers from Maplin on 2022-11-24

Topic source

>>> def is_palindrome(n):

...     return str(n) == str(n)[::-1]

...


  • 1

Reply