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.
Are you able to post the code in question, please? Thanks.
Is this the one about
course_grader function? A couple of suggestions:
- Make sure you are only entering the code for the
course_graderfunction 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.