The code for the function has been developed

The assignment can be graded and the course assignments can go on