Community member

ElaKowalska

Member since November 2025 · last post 22 Oct, 21:37

Counts public posts in this language only.

Latest threads

  1. 6points
    4
  2. 9points
    5
  3. 6points
    4
  4. 0points
    4
  5. 0points
    5
  6. 11points
    5
  7. 7points

    Set operations are magic

    Solved

    ElaKowalska · 11 Sep, 22:55

    4
  8. 7points
    5

Latest comments

  1. In What should be the next challenge theme?

    Space station life support: oxygen, water recycling, alarms. Good for simulations and classes.

    22 Oct, 21:37 · 2

  2. In Why does print need brackets? Old tutorial doesn't use them

    Ugh, it was a gift. Guess I'll use it for the explanations only.

    22 Oct, 13:01

  3. In Real use for modulo besides even/odd?

    Also checking divisibility, like whether a year might be a leap year: year % 4 == 0 (plus the 100/400 rules).

    15 Oct, 22:23

  4. In KeyError when reading a key that may not exist

    Perfect, thanks.

    15 Oct, 14:44

  5. In The evening record contains the morning reading?!

    This is the one I always mention when people say Python has no gotchas 😄

    8 Oct, 19:31 · 3

  6. In Best space books for programmers?

    Second The Martian. I wrote a little script to check his potato calorie maths after reading it.

    7 Oct, 18:53

  7. In Does my prediction need to be correct?

    Good to know, I was worried I'd "failed" something.

    5 Oct, 21:11

  8. In What are the / and * in function signatures?

    Huh, never seen the slash in tutorials.

    2 Oct, 21:26

  9. In backup = crew doesn't copy?!

    So variables are labels, not boxes. That changes how I think about everything.

    1 Oct, 07:16 · 2

  10. In Safely reading deep nested keys

    Chain .get() with empty dicts as defaults: name = mission.get("crew", {}).get("commander", {}).get("name", "unknown") Readable for 2–3 levels. Deeper than that, it's worth writing a small helper function or checking the…

    28 Sep, 20:38 · 4

Log in to ask questions, comment and vote.

Log in Create account