Ad
Fundamentals
Strings
Data Types
Algorithms
Logic
Code
Diff
  • palindrome = lambda w:  w == w[::-1]
    • def palindrome(w): return w == w[::-1]
    • palindrome = lambda w: w == w[::-1]