Ad
Fundamentals
Strings

'lets get back to where it all started but simpler'

Code
Diff
  • def reverse_string(n):
        return ''.join(reversed(n))
    
    • def reverse_string(n):
    • return n[::-1]
    • return ''.join(reversed(n))