News

With a Python function call: by generating lots of coordinates and feeding them to your “draw triangle” function. The latter is far more efficient, requires less code, ...
When to use a Python dictionary Using Python dictionaries makes the most sense under the following conditions: You want to store objects and data using names, not just positions or index numbers.