polygon

polygon - repeat(shape m s=s 1 else s==l repeat(shape l def...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
def polygon(shape, min): minimum=input("Please enter your min value: ") maximum=input("Enter your max value: ") size=input("Length size?: ") m= minimum l= maximum s= size pendown() if m<l:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: repeat(shape, m) s=s+1 else: s==l repeat(shape, l) def shape(): forward(s) right(((m-2)*8)/m) from itertools import * from turtle import * polygon(shape,min) shape() s...
View Full Document

This document was uploaded on 04/28/2011.

Ask a homework question - tutors are online