Chapter 8 Weekly Graded Assignment


#1

Hi, I’ve been spending at least a week solving the Ch. 8 assignment, but the Vocareum runs the code outputting the wrong answer despite the terminal in the chapter outputting the correct outputs. So I’m asking for assistance if the loop statements or the if statements are the issue.


#2

Are you able to post the code in question, please? Thanks.


#3

Is this the one about course_grader function? A couple of suggestions:

  • Make sure you are only entering the code for the course_grader function into Vocareum;
  • Make sure your function outputs the “pass” and “fail” strings just as given (all lowercase)

My hunch is, your mistake is the latter.