Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
806 B
5
Indexable
Never
def generate_birthday_card():
    recipient_name = input("Enter the recipient's name: ")
    your_name = input("Enter your name: ")
    birthday_message = input("Enter a birthday message: ")

    card = f"""
        Happy Birthday, {recipient_name}!

              .-"""-.
             /        \
            /_        _\
           // \      / \\
          //   \    /   \\
         //     )  (     \\
        ||     |    |     ||
        ||     |    |     ||
        ||     |    |     ||
         \\    |    |    //
          \\   |    |   //
           \\  |    |  //
            \\_|    |_/ 
             `\    /`
               `""`

        From: {your_name}
        {birthday_message}
    """

    print(card)

if __name__ == "__main__":
    generate_birthday_card()