So I’m just learning about cybersecurity and figured I’d start with the basics of Python, and so started with the Python basics course.
I’ve now attempted the final challenge 3 times, each time getting 12/13 points.
I have checked every line of code to make sure it works correctly.
I have deleted parts one at a time to find where the fault may be.
I have asked ChatGPT to complete the tasks since I wasn’t getting any hints and they got the same answers.
I just cannot figure out where this last point is supposed to come from. Is there some other factor I’m missong on this one?
I ran through the challenge and I was able to get 13 points. The grader is a bit picky, meaning code that would run just fine still does not grade due to spacing or capitalization. Python doesn’t care but the grader does. Like you I got 10, then 11, then 12 and was stuck until I caught a rouge capitalization. Again, Python does not care, but the grader script does.
The other mistake I see often is in parsing the string “This is a Happy String”. Some folks use the wrong syntax which LOOKS correct when you run it but it is grabbing a trailing space. If you know what I mean use 15 and not 16.
Another thing I could do is give the flag on say 10 points or better and not look for a perfect 13. It’s a bit like grading A+ or F with nothing in between. This isn’t meant to be frustrating
Ahh, thanks for giving it a go, so it can be completed.
I’ve tried it again, and again got 12 points. I feel like I’ve checked all the capitalization I can, and was already using 15 on the string slice. So I’ve still got no idea where this point seems to be going.
I think if it was going to change, maybe 10/13 might be a bit low. Especially if you can’t find your mistake and know what you need to improve.
With the current system I’d say maybe 12 would be better as I think at this point, it seems whatever is causing the issue in not passing isn’t not knowing enough, but perhaps something overly stringent. 11 might also work, but I don’t know where it passes from something being overly specific to simply not applying the lessons correctly.
I just wish I knew what it thought I was doing wrong.
The grader is primitive I’m afraid. You can lay the blame on me. Python is a very forgiving language and there are many ways to solve even a basic problem. Trying to account for every possible permutation OR use regex to ignore things like spacing is a rabbit hole.
I’m open to ideas to make the challenge less frustrating.
A picky grader indeed, maybe adding a note on the challenge instructing the students to ensure the spaces, and cases in the instructions to the T will be helpful…
I too was stuck on 12/13 and figured out the grader did not like single quotation marks in my list. I changed them to double quotations and got the flag.
Confirmed my issues was spacing on list array. I would recommend this not be counted against you since the actual course recommends you use spacing. Other than this I thought it was a good course and good challenge.
Hello @JosephWhite i was able to get 12 points out of 13. You made mention of a mistake at the string section pls can you explkain what am doing wrong here see below my string section. If you can tell me we am getti ng it wromg please or what other task i need to get right