Untitled
unknown
plain_text
2 years ago
806 B
12
Indexable
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()
Editor is loading...