diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-08-01 15:59:53 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-08-01 15:59:53 +0200 |
commit | a704f9961e32135e6d9b6b7dcc432adbec9d9170 (patch) | |
tree | de4b9a1af6b8ab658c2d90f969efa689674e4a36 | |
parent | b29578cfb78db8b0db20f2baa580f8a80edd243c (diff) |
feat: greet given argument
-rwxr-xr-x | src/hello/hello.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hello/hello.py b/src/hello/hello.py index ee18b25..debf6e1 100755 --- a/src/hello/hello.py +++ b/src/hello/hello.py @@ -1,3 +1,7 @@ #!env python3 -print('Hello World') +import sys + +who_to_greet = sys.argv[1] + +print('Hello', who_to_greet) |