# 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)) left_o.setOutline('orange') left_o.setFill('yellow') right_o=left_o.clone() # right_o is exact separate copy of left_o right_o.move(60,0) left_o.draw(window1) right_o.draw(window1) x=raw_input("Please input any symbol, to stop the program and close the window") window1.close() main()