Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question: Create a function that takes a person's name as a string input and prints Happy Birthday to name > where name >
Question: Create a function that takes a person's name as a string input and prints
Happy Birthday to name
where name is the person's name that is given to the function. Set up the function so that if no name is given, it just says "Happy Birthday t you!". You can give the function any name you want, but you should try to pick a function name that makes sense to someone else who might be using the function! Also, make sure to comment the function to explain what it does!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started