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.
```py
def reverse_string(string):
return string[::-1]
def reverse_string(s):
return s[::-1]
```
```py