summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/hello/hello.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hello/hello.py b/src/hello/hello.py
index d56b4ae..a97e848 100755
--- a/src/hello/hello.py
+++ b/src/hello/hello.py
@@ -3,7 +3,8 @@
import sys
def greet(who_to_greet: str):
- print('Hello', who_to_greet)
+ return 'Hello ' + who_to_greet
-greet(sys.argv[1])
+greeting = greet(sys.argv[1])
+print(greeting)