This Python script generates a happy birthday message for a given name. It uses emojis to enhance the message and ensures that the input name contains only letters.
-
Clone the Repository: Clone this repository to your local machine.
-
Navigate to the Directory: Open your terminal or command prompt and navigate to the directory where the script is located.
-
Run the Script: Execute the script by running the following command:
python happy_birthday.py
-
Follow the Prompts: Enter your name when prompted to receive your personalized birthday message.
- Python 3.x
- The script prompts the user for their name.
- It validates the input to ensure that it contains only letters and is not a number.
- If the input is valid, it generates a birthday message with emojis and prints it to the console.
- Love Emoji: "\U0001F60D"
- Music Emoji: "\U0001F3B5"
- Glass Emoji: "\U0001F942"
- If the input contains characters other than letters, the script will prompt the user to enter letters only.
- If the input is a number, the script will display an error message.
Enjoy celebrating birthdays with this fun and interactive script!