Skip to content

Commit e4ea766

Browse files
Update reverse-string.md
followed change request
1 parent 8fe76e6 commit e4ea766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/python/string-manipulation/reverse-string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: string,reverse
77

88
```py
99
def reverse_string(s:str) -> str:
10-
return s[::-1]
10+
return s[::-1]
1111

1212
# Usage:
1313
reverse_string('hello') # Returns: 'olleh'

0 commit comments

Comments
 (0)