generated from mwc/lab_names
	already answered
This commit is contained in:
		
							
								
								
									
										17
									
								
								shapes.py
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								shapes.py
									
									
									
									
									
								
							@@ -5,7 +5,20 @@
 | 
				
			|||||||
from turtle import *
 | 
					from turtle import *
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def triangle(side_length):
 | 
					def triangle(side_length):
 | 
				
			||||||
    pass
 | 
					    forward(side_length)
 | 
				
			||||||
 | 
					    right(120)
 | 
				
			||||||
 | 
					    forward(side_length)
 | 
				
			||||||
 | 
					    right(120)
 | 
				
			||||||
 | 
					    forward(side_length)
 | 
				
			||||||
 | 
					    right(120)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def rectangle(height, width):
 | 
					def rectangle(height, width):
 | 
				
			||||||
    pass
 | 
					    forward(width)
 | 
				
			||||||
 | 
					    right(90)
 | 
				
			||||||
 | 
					    forward(height)
 | 
				
			||||||
 | 
					    right(90)
 | 
				
			||||||
 | 
					    forward(width)
 | 
				
			||||||
 | 
					    right(90)
 | 
				
			||||||
 | 
					    forward(height)
 | 
				
			||||||
 | 
					    right(90)
 | 
				
			||||||
		Reference in New Issue
	
	Block a user