From 1cf5d4016b26ed592cb6873fff09ccb98eb59c0c Mon Sep 17 00:00:00 2001 From: Vishnu01113 Date: Thu, 22 Oct 2026 09:05:56 +0530 Subject: [PATCH] Add Python greeting function Add a reusable function that returns a personalized greeting --- greeting.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 greeting.py diff --git a/greeting.py b/greeting.py new file mode 100644 index 000000000000..1d9681accf46 --- /dev/null +++ b/greeting.py @@ -0,0 +1,7 @@ +def greet_user(name): + """Return a greeting for the given user.""" + return f"Hello, {name}! Welcome to our project." + + +if __name__ == "__main__": + print(greet_user("Student"))