I am still new to python and have practiced python as automation tool to get used to.
Now I want to try mathematical calculation in python.
I have tried to calculate distance of two cartesian coordinate I extracted from a hand practice data:
in temp2:
-0.329637489 3.481200000 1.740200000
2.389059814 1.000230000 8.653210000
N.B the numbers are in a text file, line 1 and 2.
My initial thought was append each number as a variable. Then, calculate them. However, I am struggling assign each number as a variable.
or
Is there are more effective way to calculate the distance of coordination?
If there is I would like to know both ways.
THANK YOU SO MUCH IN ADVANCE!