•Write a function calledconvertStatus that is passed status code 'f', 's', 'j', or 'r' andreturns thestring 'freshman', 'sophomore', 'junior', or 'senior', respectively. Design your
function so that if an inappropriate letter is passed, an error value is returned. Make sure to includean appropriatedocstring with your function.