Update parameter name in reverse_string

This commit is contained in:
Angelos Chalaris
2020-01-03 12:53:47 +02:00
parent ac060d94dd
commit 9d6e35d43f

View File

@ -8,8 +8,8 @@ Returns the reverse of a string.
Use string slicing to reverse the string. Use string slicing to reverse the string.
```py ```py
def reverse_string(string): def reverse_string(s):
return string[::-1] return s[::-1]
``` ```
```py ```py