From 4e932e2cd9005a3723aa0f5fc5ddb94e8bfca955 Mon Sep 17 00:00:00 2001 From: freena koikoi Date: Wed, 28 Jun 2023 11:08:17 +0000 Subject: [PATCH] Upload files to '' --- discussion2.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 discussion2.py diff --git a/discussion2.py b/discussion2.py new file mode 100644 index 0000000..4c16dd8 --- /dev/null +++ b/discussion2.py @@ -0,0 +1,8 @@ +# In this example, I use def to define the function name (names_of_fruits), +# the parameter is (fruits)and the argument is ("name of fruit is: % s" % fruits) + +def names_of_fruits(fruits): + print("name of fruit is: % s" % fruits) + +names_of_fruits('Apple') + \ No newline at end of file