Back to Problem Solutions forum
Hello. Could someone explain pls how do i have to recive 10 values of x,y? I understood only 1.my step have to be 1/quantity first point-1, 2.I have to find lenght between every points 1-2 2-3 etc. and then find some points in proportional step:1-step 3.Do this steps while exist more then 2 points. Question: 1.Whats coordinates have i to display? 2.Why at the pic 10 points but it has different values of x,y? This problem is very hard for my brain. I solve all problems in a row, a can't do next while it is not solved(
I did it by recursion, but I have some troubles with rounding. Im using round() function but results are incorrect for 2-3 pairs x or y xy+-1. What can I do?
If you are using python, beware of embedded round()
function doing bank rounding, which does not fit here.