diff options
-rwxr-xr-x | src/hello/hello.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hello/hello.py b/src/hello/hello.py index debf6e1..d56b4ae 100755 --- a/src/hello/hello.py +++ b/src/hello/hello.py @@ -2,6 +2,8 @@ import sys -who_to_greet = sys.argv[1] +def greet(who_to_greet: str): + print('Hello', who_to_greet) -print('Hello', who_to_greet) + +greet(sys.argv[1]) |