Community member
ZosiaN
Member since March 2025 · last post 24 Oct, 17:48
- 9 threads
- 27 comments
- 3 solutions
- 103 upvotes received
Counts public posts in this language only.
Latest threads
Latest comments
-
In zip() silently dropping data scared me
Parallel lists are fragile in general. Later challenges move to dicts / records, which avoids this entirely.
-
In Book or videos — what worked for you? Solution
Honestly, I learned more from doing small projects alongside a book than from reading cover to cover. Read a chapter, then build something tiny with it the same day.
-
In Why is readings[5] out of range with 5 readings?
And for an even number of items there's no single middle. Statistics module's median handles it.
-
In sys.platform shows "emscripten"?
Same! sys.platform() gives "str object is not callable".
-
In Type hints don't change anything at runtime?
And help(fuel_needed) now shows your docstring. Try it, it feels very professional.
-
In Swapping variables without a temp variable
So it's packing and unpacking in one line. Neat.
-
So it's dict + sensible defaults + helpers.
-
In Nice article, one question about elif vs nested if
"Choosing one of several" vs "second question depends on the first" — clear rule, thanks.
-
In Editor says 3.12 but my laptop says 3.10 — does it matter?
Ah, that explains the error I got last week when I copied something from here. Thanks!
-
In Best space books for programmers?
Ha, that's exactly the kind of thing I'm after.