Community member
Grace_42
Member since August 2025 · last post 24 Oct, 09:56
- 5 threads
- 45 comments
- 10 solutions
- 173 upvotes received
Counts public posts in this language only.
Latest threads
Latest comments
-
In What should be the next challenge theme?
Yesss, a rover set would be amazing.
-
In LEGB rule — what does it stand for?
And nonlocal lets you assign to the E level, global to the G level.
-
In Integers have no size limit?
Yes, Python ints are arbitrary-precision; they grow as needed, limited only by memory. Floats are different — they're 64-bit and have limited precision and range. Since 3.11 there's a limit on converting huge ints to st…
-
In Why is readings[5] out of range with 5 readings?
-1 works for any list length. Got it.
-
In Stage 2 — unit column alignment Solution
After the value (:>7.1f) you need exactly two spaces, then the unit. If your header uses different spacing, the columns drift. Compare your header line with the expected one character by character.
-
In Docstring style — Google, NumPy or reST?
help(burn_time) in the console prints the docstring. Nice way to check it reads well.
-
In How much time per day is enough?
I tracked a streak in a notebook. Silly, but it worked.
-
In Items without an id — "item 5"
Stage 2's duplicate check with a set is a nice reuse of "Duplicate events".
-
In Keyword arguments everywhere?
That * trick is great for APIs.
-
In Joining lots of strings in a loop — is += slow?
join only takes strings though. ", ".join([1, 2, 3]) fails, you need ", ".join(map(str, numbers)).