Jun-10-2020, 09:30 AM
Are you sure the coordinates draw a heart ? :-)
It works , but i get the start of a heart +/- ...
What i did:
D is now a list of dictionaries.
"For coord in D:" is what Yoriz says.
Each coord has 2 dictionary keys ['X'] and ['Y'], that give simple access to the values.
After that, piece of cake.
Also, do not include D in your def call, as D is visible from within the def.
Paul
It works , but i get the start of a heart +/- ...
What i did:
D is now a list of dictionaries.
"For coord in D:" is what Yoriz says.
Each coord has 2 dictionary keys ['X'] and ['Y'], that give simple access to the values.
After that, piece of cake.
Also, do not include D in your def call, as D is visible from within the def.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.