Ad
Fundamentals
Strings
Code
Diff
  • reverse_string = lambda string: string[::-1]
    • reverse_string = lambda string: __import__('functools').reduce(lambda a, b: b + a, string)
    • reverse_string = lambda string: string[::-1]