Return statement


#1

This should be a simple question but I am missing something here. It is a two step question.

Then…

The material itself is on Stepik.org

Any thoughts would be greatly appreciated.

–Will.


#2

Link to actual lesson. We cannot access the course, otherwise.

Try,

return passing_students / total_students

#3

#4

As expected, fill in the blanks with the two global variables.


#5

That did it! I’m almost done with these code basics. I will post something a little more challenging soon.