Skip to content

Commit b59c3ba

Browse files
authored
Update functions.md
Fixed say_hi function.
1 parent 873f1f1 commit b59c3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cheatsheet/functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To improve or code readability, we should be as explicit as possible. We can ach
4040

4141
```python
4242
>>> def say_hi(name, greeting):
43-
... print(f"{name} {greeting}")
43+
... print(f"{greeting} {name}")
4444
...
4545
>>> # without keyword arguments
4646
>>> say_hi('John', 'Hello')

0 commit comments

Comments
 (0)