Returning a list of x and y coordinate tuples
<p>I am trying to return a list of x and y co-ordinate tuples after reading a text file with numbers in it for example:</p>

<pre><code>68,125
113,69
65,86
108,149
152,53
</code></pre>

<p>I have got to the point where i return a list of numbers but not as pairs in a tuple.</p>

<p>here is my code:</p>

<pre><code>def read_numbers(filename):
    numbers = []
    input_file = open(filename, "r")
    content = input_file.readlines()
    numbers = [word.strip() for word in content]
    input_file.close()
    return numbers
def main():
    numbers = read_numbers('output.txt')
    print(numbers)

main()
</code></pre>