Ad
  • Default User Avatar

    ok I just re-ran it.. now it works. Ghost in the machine..

  • Custom User Avatar
    Log
    0 11
    100
    Test Passed
    

    I've tried your code several times and it passed every time.

  • Default User Avatar

    it returns 100, the attempt says it should have been 0.. from input exam = 0 projects 11.. I'm lost

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    or means any of those conditions being true (or both of them), you have to return 100. Why do you think it could be and instead? As I said, the expected value is 100 for that input. No need to clarify anything, it's written like that in the description.

  • Default User Avatar

    I have given up on this for now, until it is clarified - if it is intended to be a "or" or "and". As the attempt seems to keep failing due to returning what apears to be the correct logic for what is currently written. Really wish i could screen shot

  • Custom User Avatar

    I don't get what the problem is, in Python the expected value for that input is 100.

  • Default User Avatar

    "100, if a grade for the exam is more than 90 or if a number of completed projects more than 10."
    the magical "OR" in the middle of the sentance does not seem to commpute when student get 0 in exam and do 11 projects, surely student has 100 not 0.