From a1f24e3c9a96a4c3a960cf69aca2dbd299e7044c Mon Sep 17 00:00:00 2001 From: ayaka Date: Thu, 28 Oct 2021 10:12:59 -0700 Subject: [PATCH] add the_one function --- main.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 2c117eb..9a32cb3 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,10 @@ #creating a simple function def my_function(fname): - print(fname + " Goslee") + return fname + "Goslee" -my_function("Trenisha") +def the_one(fname): + name = my_function(fname) + print(f"{name} is the one.") +the_one("Trenisha")