How to input two numbers using space like [ 48] in two list type variables ?
I have a file full of coordinates of the form:
37.68899917602539 58.07500076293945 57.79100036621094
The numbers don't always have the same number of decimal points. I need to reduce the decimal points of all the numbers (there are 128 rows of 3 numbers) to 2.
This python script is adding the sums of the numbers entered in a single line delimited by space except that it is not adding correctly. Thanks in advance.
Print "Enter Numbers:"
for result in list:
1 1 1 1
1 2 3 4 5 6