From 9c28ab939bf5d86ab5ca025d2b2fb87c14db953f Mon Sep 17 00:00:00 2001 From: url Date: Tue, 21 Jul 2026 15:29:35 +0100 Subject: [PATCH] basic function - lesson 05 --- learning/05-functions/greeting.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 learning/05-functions/greeting.py diff --git a/learning/05-functions/greeting.py b/learning/05-functions/greeting.py new file mode 100644 index 0000000..c6d77fc --- /dev/null +++ b/learning/05-functions/greeting.py @@ -0,0 +1,4 @@ +def add(a, b=10): + return a + b +print(add(5, 3)) +print(add(5)) \ No newline at end of file