this post was submitted on 17 Dec 2025
20 points (95.5% liked)

Hacker News

3290 readers
573 users here now

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] catarina@lemmy.dbzer0.com 2 points 5 days ago (1 children)

That's Python, by the way. Instead of having to use an index, 'x' is already the element of the list corresponding to each iteration.

With python I have the least experience. Well I learned something! Cheers