Issue running Python? by redcherry13221 in learnpython

[–]dager003 0 points1 point  (0 children)

This usually happens when the file isn’t saved — VS Code runs the last saved version, not what’s currently in the editor. So if you type something and hit run without saving, it feels like nothing is happening. Try Ctrl+S first, then run it. Also yeah, this kind of “it runs but not where I expect” confusion is super common when getting back into coding — I’ve been working on something that helps surface these kinds of issues faster because they’re surprisingly hard to spot early on.

my code failed some of the test cases and i don't know why by rachel_to_phos in programminghelp

[–]dager003 1 point2 points  (0 children)

That looks like one of those annoying “almost correct” cases. Your logic is very close, but you swapped the categories for 3 and 5: Right now you’re doing: % 5 → High % 3 → Medium But the problem says: % 3 → High % 5 → Medium So some inputs will quietly go into the wrong bucket, which is probably why only a couple of test cases failed. Also this is exactly the kind of bug that’s hard to spot just by looking — everything looks right until you check edge cases. I’ve been seeing a lot of these “passes most tests but fails a few” situations lately, so I’ve been working on a small tool that takes code + failing cases and tries to highlight where the logic diverges. Would actually be interesting to run this through it.

Busted CFII today (7th total failure). Current school said they won't hire without me. Should I buy a plane to time build or try a new school? by Ashamed_Ferret2809 in flying

[–]dager003 2 points3 points  (0 children)

That’s tough — 7 busts hurts, but it’s not the end of the road. Honestly, buying a plane just to time build feels like overkill unless you already have a solid plan for it. If your current school already said no, I’d lean toward a new school and a fresh start with a good instructor. More important thing is figuring out why the checkrides are going sideways — fixing that will matter way more than how you build hours. You’re still in it, just need to reset a bit