From a704f9961e32135e6d9b6b7dcc432adbec9d9170 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Tue, 1 Aug 2023 15:59:53 +0200 Subject: [PATCH 1/1] feat: greet given argument --- src/hello/hello.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2