From 1cd14158230fc39021d674dd1d4319599b3edeb6 Mon Sep 17 00:00:00 2001 From: Senem Yilmaz Date: Wed, 17 Dec 2025 00:11:03 +0300 Subject: [PATCH 1/5] add space --- hello.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello.py b/hello.py index f92d237..336a30b 100644 --- a/hello.py +++ b/hello.py @@ -4,8 +4,8 @@ def full_name(first_name, last_name): """returns the full name""" - name = f"{first_name.capitalize()}{last_name.capitalize()}" - + name = f"{first_name.capitalize()} {last_name.capitalize()}" + return name if __name__ == "__main__": From 4b84c2625e424efe629e3fde241ec78655c88af5 Mon Sep 17 00:00:00 2001 From: Senem Yilmaz Date: Wed, 17 Dec 2025 00:18:19 +0300 Subject: [PATCH 2/5] add strip function --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index 336a30b..5c79664 100644 --- a/hello.py +++ b/hello.py @@ -4,7 +4,7 @@ def full_name(first_name, last_name): """returns the full name""" - name = f"{first_name.capitalize()} {last_name.capitalize()}" + name = f"{first_name.capitalize()} {last_name.capitalize().strip()}" return name From c4fef0ced3bc9d725e81a4ee600f5f753198f16d Mon Sep 17 00:00:00 2001 From: Senem Yilmaz Date: Wed, 17 Dec 2025 00:23:45 +0300 Subject: [PATCH 3/5] 2 add strip --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index 5c79664..3c7ddad 100644 --- a/hello.py +++ b/hello.py @@ -4,7 +4,7 @@ def full_name(first_name, last_name): """returns the full name""" - name = f"{first_name.capitalize()} {last_name.capitalize().strip()}" + name = f"{first_name.capitalize().strip()} {last_name.capitalize().strip()}" return name From 195056898dc373b948df1d9c830742df7d828b03 Mon Sep 17 00:00:00 2001 From: Senem Yilmaz Date: Wed, 17 Dec 2025 00:26:48 +0300 Subject: [PATCH 4/5] remove space --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index 3c7ddad..639bd48 100644 --- a/hello.py +++ b/hello.py @@ -4,7 +4,7 @@ def full_name(first_name, last_name): """returns the full name""" - name = f"{first_name.capitalize().strip()} {last_name.capitalize().strip()}" + name = f"{first_name.capitalize().strip()}{last_name.capitalize().strip()}" return name From b04e7e2406a81855789f23b11c95e55eb8fa7b4d Mon Sep 17 00:00:00 2001 From: Senem Yilmaz Date: Wed, 17 Dec 2025 00:40:53 +0300 Subject: [PATCH 5/5] last changes --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index 639bd48..0ba9d5f 100644 --- a/hello.py +++ b/hello.py @@ -4,7 +4,7 @@ def full_name(first_name, last_name): """returns the full name""" - name = f"{first_name.capitalize().strip()}{last_name.capitalize().strip()}" + name = f"{first_name.capitalize()} {last_name.capitalize()}".strip() return name