vendredi 8 janvier 2021

How can I transform this loop into the classical way in python?

How is this translatable to the classical way of writing if and for loops? This is the first time I have encountered this kind of writing.

vertices = [v for v in obj.data.vertices if (ymin <= v.co[2] <= ymax)]

Aucun commentaire:

Enregistrer un commentaire