Zovio Interview Question

Write a function to perform a specific task.