Friday, May 15, 2015
Monday, May 11, 2015
Question:What does the last bit of Code do?The last bit of Code which happens to be window.exitonclick() shuts down the window when you click. :)The window variable is = to the turtle screen which displays the program itself. Python already knows what exitonclick means through built-in method retrievals.
Check this out and more PYTHONIC codes at http://love-python.blogspot.com/2014/07/turtle-triangle-fun.html