Update input_string to s for string examples
This commit is contained in:
@ -8,8 +8,8 @@ Prints out the same string a defined number of times.
|
||||
Repeat the string `n` times, using the `*` operator.
|
||||
|
||||
```py
|
||||
def n_times_string(input_string, n):
|
||||
return (input_string * n)
|
||||
def n_times_string(s, n):
|
||||
return (s * n)
|
||||
```
|
||||
|
||||
```py
|
||||
|
||||
Reference in New Issue
Block a user