diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-08-02 00:33:13 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-08-02 00:33:13 +0200 |
commit | f15186024970d98266703ce7c0667f721a009257 (patch) | |
tree | 8d3589f7dc94d12e4fd7f008c95cb9dd4b35145e /src/hello.py | |
parent | 4a754193d867bea05287a730c3bc7cd743ab4e9e (diff) |
change file structure
Diffstat (limited to 'src/hello.py')
-rwxr-xr-x | src/hello.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/hello.py b/src/hello.py new file mode 100755 index 0000000..1e0e056 --- /dev/null +++ b/src/hello.py @@ -0,0 +1,11 @@ +#!env python3 + +import sys + +def greet(who_to_greet: str): + return 'Hello ' + who_to_greet + + +if __name__ == '__main__': + greeting = greet(sys.argv[1]) + print(greeting) |