Define the Problem Clearly
Think about what you want the function to do. Ask yourself:
What inputs do I need?
What decision(s) do I have to make?
What outputs do I expect?
The input refers to the data your function will process. Inputs are typically provided as parameters when defining the function.