pimento[~]$ fixscreenmirror pimento[~]$ python3 Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from graphics import * >>> >>> win = GraphWin("Practice",800,600) >>> win.setBackground("light blue" ... ) >>> win.setBackground("deep pink") >>> win.setBackground("navy") >>> win.setBackground("light blue") >>> >>> >>> p = Point(100, 200) >>> p.draw(win) Point(100.0, 200.0) >>> >>> p.setFill("red") >>> >>> q = Point(500, 300) >>> q.draw(win) Point(500.0, 300.0) >>> >>> l = Line(p, q) >>> l.draw(win) Line(Point(100.0, 200.0), Point(500.0, 300.0)) >>> >>> center = Point(100, 400) >>> >>> c = Circle(center, 100) >>> >>> c.draw(win) Circle(Point(100.0, 400.0), 100.0) >>> >>> c.setFill("deep pink") >>> c.setOutline("deep pink") >>> >>> l.setWidth(2) >>> l.setWidth(10) >>> l.setWidth(2) >>> >>> c.move(0,10) >>> c.move(0,10) >>> c.move(0,10) >>> c.move(0,10) >>> c.move(0,10) >>> c.move(0,10) >>> c.move(0,10) >>> c.move(0,-10) >>> >>> c.move(10,0) >>> >>> for i in range(1000): ... c.move(0.1,0) ... >>> for i in range(100000): ... c.move(0.01,0) ... >>> for i in range(100000): ... c.move(-0.01,0) ... >>> exit() pimento[~]$ update21 No new updates found. Last two updates shown below 17 hours ago Sun Oct 1 18:06:52 2017 -0400 inclass/week05/cat_face.py inclass/week05/circles.py 3 days ago Fri Sep 29 12:30:26 2017 -0400 labs/04/QUESTIONS-04.txt pimento[~]$ cd cs21/inclass/week05/ pimento[week05]$ atom circles.py pimento[week05]$ python3 circles.py File "circles.py", line 27 for i in range(200) ^ SyntaxError: invalid syntax pimento[week05]$ python3 circles.py Traceback (most recent call last): File "circles.py", line 40, in main() File "circles.py", line 28, in main x = random.choice(range(width)) NameError: name 'random' is not defined pimento[week05]$ python3 circles.py