summaryrefslogtreecommitdiff
path: root/src/hello.py
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-08-02 00:33:13 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-08-02 00:33:13 +0200
commitf15186024970d98266703ce7c0667f721a009257 (patch)
tree8d3589f7dc94d12e4fd7f008c95cb9dd4b35145e /src/hello.py
parent4a754193d867bea05287a730c3bc7cd743ab4e9e (diff)
change file structure
Diffstat (limited to 'src/hello.py')
-rwxr-xr-xsrc/hello.py11
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)