From a704f9961e32135e6d9b6b7dcc432adbec9d9170 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Tue, 1 Aug 2023 15:59:53 +0200 Subject: feat: greet given argument --- src/hello/hello.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3