Day 030 of :

Briefly exploring the `expression for x in y` syntax in Python.

rusingh.com/2021/06/02/python-

@celia If you want a fancy word for it, it's called "list comprehension" in Python, there's dict / set comprehension as well.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.