1.
##from turtle import *
##speed(-1)
##
##for n in range(3,7):
##    if (n%2!=0):
##       color("blue")
##       for i in range(n):
##           forward(100)
##           left(360/n)
##    else:
##        color("red")
##        for i in range(n):
##            forward(100)
##            left(360/n)
##        

2.
from turtle import *
color("red")
speed(-1)

for i in range(4):
    right(30)
    forward (100)
    left(60)
    forward(100)
    left(120)
    forward(100)
    left(60)
    forward(100)
    right(120)
    
    
    
    
    
    
    


