« *
@trey.io
1
Ever learned a Python feature, used it once, and had to look it up again six mo…
@trey.io
2
🗺️ November 23, 2026 5/5 countries in 5/13 guesses 🟢🟢🟢🟢🟢 whereabouts.eart…
@trey.io
3
There's one big exception to this tip: if you need to maintain the insertion or…
@trey.io
4
Or maybe you simply don't care about the values, so you've set them all to None…
@trey.io
5
Python Tip #326 (of 365): When you don't care about a dictionary's values, use …
@trey.io
6
“The first person to enter a queue will be the first person to reach the front …
@trey.io
7
🗺️ November 22, 2026 5/5 countries in 6/13 guesses 🟡🟢🟢🟢🟢 whereabouts.eart…
@trey.io
8
Converting with dict(by_color) before returning works too, but if you're conver…
@trey.io
9
That setdefault call sets the key to an empty list ONLY if it's not already the…
@trey.io
#
More
Back a page
Bluesky home
☆ Save to home
·
0 Home
·
Find
·
Games
·
Chat
·
AI
·
Setup