Community member
BellaRossi
Member since April 2025 · last post 26 Oct, 12:52
- 16 threads
- 66 comments
- 6 solutions
- 276 upvotes received
Counts public posts in this language only.
Latest threads
Latest comments
-
Nice intro to APIs without needing network access in the editor.
-
In Where to start with a 70-line repetitive script?
Save the output first. Brilliant, so obvious in hindsight.
-
In zip() silently dropping data scared me
Agreed, a list of tuples or dicts is much safer.
-
In Stage 2 — removing the length check feels wrong
except ValueError as error and printing the message gives great diagnostics in the skipped lines.
-
In What should be the next challenge theme?
Rover +1. Could also introduce simple algorithms like BFS for path finding.
-
In continue vs wrapping everything in an if
That was my bug! The indented comment line. Thanks.
-
In Stage 2 — why is K to F refused?
Same idea as the temperature conversion thread under the star temperature article: convert through a known formula, no special cases.
-
In LEGB rule — what does it stand for?
That explains the sum problem someone mentioned in the variables thread!
-
In Stage 2 — split("-") breaks LIFE-SUPPORT-4
split also has maxsplit, but it works from the left. For "last separator" cases, rsplit is the tool.
-
In continue vs wrapping everything in an if
Yeah, with three nested conditions the if version would get ugly.