How do I get the x coords to show up after mouse click? - Python
<p>I'm trying to figure out how to get the x coords to show up when the user clicks a point in the graphics window. Any ideas? Thanks!</p>

<p>Here's my code:</p>

<p><strong>Set graphics window</strong>  </p>

<pre><code>win = GraphWin("Uncle Scrooges Money Bin", 640,480)
win.setCoords(0,0,80,60)
win.setBackground("white")
</code></pre>

<p><strong>Get coordinate of mouse click 1</strong></p>

<pre><code>point1 = win.getMouse() #*****************************
</code></pre>

<p><strong>Display coordinates of point 1</strong>  </p>

<pre><code>print("Point 1 coordinates: ", point1)
</code></pre>
