[EMAIL PROTECTED] wrote: > Hello > > I have a snowman who would like a nose. I have tried the following to make > a triangle and all I get is a little green line. would anyone have any > suggestions as to why? > > > from graphics import * > > def main(): > win = GraphWin("Triangle") > > triangle = Polygon(Point(4,8), Point(2,10), Point(6,3))
Try making the triangle bigger and maybe you will see what is happening... triangle = Polygon(Point(40,80), ... Kent > triangle.setFill("purple") > triangle.setOutline("green") > triangle.draw(win) > > > win.getMouse() > win.close() > > main() > > > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor