From b59c3bad820d2787c86ee9f5787a607adbd514b6 Mon Sep 17 00:00:00 2001 From: Arham-Fox <74828741+Arham-Fox@users.noreply.github.com> Date: Fri, 29 Jul 2022 20:26:05 +0200 Subject: [PATCH] Update functions.md Fixed say_hi function. --- docs/cheatsheet/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cheatsheet/functions.md b/docs/cheatsheet/functions.md index 3d7098e4..0a8c1b64 100644 --- a/docs/cheatsheet/functions.md +++ b/docs/cheatsheet/functions.md @@ -40,7 +40,7 @@ To improve or code readability, we should be as explicit as possible. We can ach ```python >>> def say_hi(name, greeting): -... print(f"{name} {greeting}") +... print(f"{greeting} {name}") ... >>> # without keyword arguments >>> say_hi('John', 'Hello')