Created
September 14, 2019 16:13
-
-
Save njgibbon/56fca1fd7d1a77bcbeba844bf44a799b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def reverse_3(s: str) -> str: | |
s_list = list(s) | |
s_list.reverse() | |
return ''.join(s_list) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment