Community member
AmeliaRuns
Member since November 2025 · last post 26 Oct, 10:11
- 21 threads
- 61 comments
- 7 solutions
- 278 upvotes received
Counts public posts in this language only.
Latest threads
Latest comments
-
In How do you remember all the syntax?
A cheat sheet is a good idea. I'll start one.
-
In Stage 2 — the quotes look normal to me
Word processors and some messaging apps "prettify" quotes automatically. Never copy code from a Word document.
-
In Stage 2 — why reverse the loops?
Reset blocked = False at the start of each column, not before the outer loop. That's the usual bug.
-
In Stage 2 — why separate ifs instead of elif?
This "elif vs separate ifs" distinction is one of the most useful things I learned here.
-
In How strict should valid_email be?
For this challenge, keep it simple: one "@", something before it, and a dot in the part after it. Real-world validation is best done by sending a confirmation email — no regex catches everything.
-
In Different error messages for pass 2 and pass 3
stdev is sample standard deviation; pstdev is population. For sensor readings, stdev is the usual choice.
-
In Stage 2 — split("-") breaks LIFE-SUPPORT-4
rsplit! Didn't know it existed.
-
In splitlines() vs split("\n")
Windows line endings, good point.
-
In if __name__ == "__main__": — what is this for?
So importing it won't run the test print. That's useful.
-
In Operator precedence — is there a simple rule? Solution
Division has the same priority as multiplication, so a + b + c / 3 divides only c. When in doubt, add brackets — they cost nothing and make the intent obvious.