Your First Function
Python
10 pts
Your First Function
Define a function called show_welcome that prints exactly these two lines:
Welcome to Keren Library Open: 8:00 - 17:00
Then call the function once at the bottom of your program. The expected output is the same two lines.
Checklist
- Define a function called
show_welcomeusingdef. - Make
show_welcome()print the two lines exactly as shown. - Call
show_welcome()once at the bottom of your program.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
