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()