Community member
HenryWrites
Member since March 2025 · last post 27 Oct, 08:31
- 10 threads
- 56 comments
- 8 solutions
- 208 upvotes received
Counts public posts in this language only.
Latest threads
Latest comments
-
In Where to start with a 70-line repetitive script?
This is the most "real job" challenge on the site. Every company has this script somewhere 😄
-
In How to avoid slow nested loops?
Classic. Nested loops for "find matches" are almost always replaceable by a set or dict.
-
In Stage 2 — removing the length check feels wrong
Seeing "could not convert string to float: 'ERR'" in the report is really useful for operators.
-
In Which line do I fix — top or bottom of the traceback?
Stage 2: the bug might be in a different function than where you'd expect. Trust the traceback, not your intuition.
-
In Kelvin to Celsius rounding errors Solution
Floating point again — 273.15 can't be represented exactly in binary, so you get tiny errors. Round for display: print(f"{celsius:.1f} °C") The value is still correct to many decimal places; it's only the printed repres…
-
In Is fuel_kg -= burn_1 the same as fuel_kg = fuel_kg - burn_1?
That list detail is going to bite me one day, I can feel it.
-
In Stage 2 — least-busy eligible person
Scheduling problems get hard fast. Nice that the challenge keeps it manageable.
-
In When is **kwargs actually useful?
"Extra log fields" in the challenges is exactly this pattern.
-
In The fifth bug — runs but wrong decision
The bug that doesn't crash is always the dangerous one.
-
In How much time per day is enough?
15 minutes every day sounds doable even with work. I'll try that.