Grade Function: Functions example

A gradeFor(mark) function with a Return on each path, called for every mark in a list.