I had to make a file : planets.txt with information about planets. The file looks like this:
Planet1 100 200
planet2 200 300
planet3 400 250
I have to write a function in python that returns a list with tuples of this information like this :
[(100,200),(200,300),(400,250)]
The problem is that I don't know how to write this function. Is there anyone who can help me? Thank you very very much !