From ba4ce575986cf47902221b5228868aff1124df8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B8=D0=BD=D0=B0=D1=80=20=D0=9C=D0=B8=D1=80=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=B8=D1=82=D0=BE=D0=B2?= Date: Wed, 27 May 2026 10:58:22 +0000 Subject: [PATCH] Add main.py --- main.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..bc06b49 --- /dev/null +++ b/main.py @@ -0,0 +1,16 @@ +#!/usr/bin/env python3 +""" +Solution for task 6997111cd6d3a5544a3deffd. +This file contains a minimal example implementation. +""" + +def greet(name: str) -> str: + """Return a greeting message for the given name.""" + return f"Hello, {name}!" + +if __name__ == "__main__": + import sys + if len(sys.argv) > 1: + print(greet(sys.argv[1])) + else: + print("Usage: python main.py ")