you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 months ago (1 child)

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.

  • source
  • parent
  • hideshow 1 child comment