From d8b5cb4e2d59e43e453711f465817dddc9a890ad Mon Sep 17 00:00:00 2001 From: zainab Dnaya Date: Mon, 1 Aug 2022 20:05:36 +0100 Subject: [PATCH] Update README.md --- subjects/reversesecondhalf/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/subjects/reversesecondhalf/README.md b/subjects/reversesecondhalf/README.md index 5146ca15b..dc88faeb8 100644 --- a/subjects/reversesecondhalf/README.md +++ b/subjects/reversesecondhalf/README.md @@ -26,10 +26,11 @@ import ( ) func main() { - ReverseSecondHalf("This is the 1st half This is the 2nd half") - ReverseSecondHalf("") - ReverseSecondHalf("Hello World") + fmt.Print(ReverseSecondHalf("This is the 1st half This is the 2nd half")) + fmt.Print(ReverseSecondHalf("")) + fmt.Print(ReverseSecondHalf("Hello World")) } + ``` And its output :