Community member

NoahLoops

Member since June 2025 · last post 26 Oct, 16:35

Counts public posts in this language only.

Latest threads

  1. 10points
    5
  2. 3points
    4
  3. 11points

    Stage 1 crashes on DEBUG

    Solved

    NoahLoops · 13 Oct, 15:12

    4
  4. 3points
    4
  5. 8points
    4
  6. 10points
    5
  7. 8points
    4
  8. 1points
    4
  9. 11points
    4
  10. 9points
    5

Latest comments

  1. In Should I delete the debug line or comment it out?

    Ctrl+/ toggles comments in most editors, including this one. Saves a lot of typing.

    26 Oct, 16:35 · 1

  2. In Stage 2 — why separate ifs instead of elif?

    Same. I'd been using elif everywhere by default.

    25 Oct, 17:11

  3. In How does the checker test a "live" countdown?

    Same idea as the medical dispenser article — don't trust the clock blindly, control it.

    25 Oct, 16:46 · 2

  4. In Where to start with a 70-line repetitive script? Solution

    Run it first and save the output — that's your safety net. Then extract one function at a time (parse_feed first), run again and compare. Never change behaviour and structure at the same time.

    25 Oct, 14:56 · 6

  5. In Guard clauses changed how I write functions

    Same here. Nested ifs five levels deep are a thing of the past.

    25 Oct, 08:58 · 3

  6. In How long should variable names be?

    The task says no one- or two-letter names, so anything readable passes. Readability is the real goal.

    23 Oct, 23:44 · 6

  7. In Stage 2 says my output doesn't match but it looks identical

    Passed! Didn't think a single space would matter.

    22 Oct, 12:36

  8. In Stage 2 says my output doesn't match but it looks identical

    I wrote print(" ") for the blank line…

    21 Oct, 20:41

  9. In Why "is None" and not "== None"?

    Oof, that's exactly what I did first. 0 °C became "NO DATA".

    21 Oct, 12:41 · 2

  10. In if __name__ == "__main__": — what is this for?

    When you run a file directly, Python sets its __name__ to "__main__". When another file imports it, __name__ is the module's name instead. So code inside that if runs only when you execute the file directly, not when it…

    20 Oct, 15:18 · 1

Log in to ask questions, comment and vote.

Log in Create account