# file: ovals.py # This program tries to draw two ovals of the same size at # two different places. # from graphics import * # importing graphics library def main(): window1=GraphWin('Drawing two ovals',640,480) left_o=Oval(Point(50,50),Point(90,70)) # creating an object Oval left_o.setOutline('orange') left_o.setFill('yellow') right_o=left_o right_o.move(60,0) # moving 60 pixels to the right left_o.draw(window1) right_o.draw(window1) window1.close() main()