From 8a8fa2359df595e9b47df1b1c0459578b16c0268 Mon Sep 17 00:00:00 2001 From: Shaik-haseena123 Date: Sat, 19 Oct 2024 15:28:39 +0530 Subject: [PATCH] Update palindrome_checker.py --- palindrome_checker.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/palindrome_checker.py b/palindrome_checker.py index c0fdc30..187ee83 100644 --- a/palindrome_checker.py +++ b/palindrome_checker.py @@ -5,3 +5,22 @@ def is_palindrome(s): if __name__ == "__main__": word = input("Enter a word: ") print(f"{word} is a palindrome: {is_palindrome(word)}") +# hello_world.py + +def greet(): + print("Hello, Hacktoberfest!") + +def ask_participation(): + print("Are you participating in Hacktoberfest?") + +def share_resources(): + print("Check out the official website for resources: https://hacktoberfest.com") + +def say_goodbye(): + print("Goodbye! See you at Hacktoberfest!") + +if __name__ == "__main__": + greet() + ask_participation() + share_resources() + say_goodbye()