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