Hi @aviss ,
Specifically, the problem that @bandit corrected was that you had these two statements indented, which made them part of the
grades_std_deviation function ...
variance = grade_variance(grades)
That is one of the reasons that they did not execute. To get statements that are part of a function to execute, the function must be called. However, in this case, even calling the function would not have caused those statements to execute, because they were positioned after a
return statement, which causes function execution to terminate, and then passes control back to where the function was called.