from cs1graphics import *
width = 300
height = 300
paper = Canvas(width, height, 'white', 'Flipping(1)')
flag1 = Polygon(Point(width / 2, height * 3 / 4), Point(width / 2, height /
    4), Point(width / 4, height / 4), Point(width / 4, height / 4 + 20),
    Point(width / 4 + 20, height / 4 + 20), Point(width / 4 + 20, height * 
    3 / 4))
paper.add(flag1)
flag2 = flag1.clone()
flag2.flip()
paper.add(flag2)
flag2.flip()

ac9ae3bc980001f685fcc976020de028cfdfb5d1
<mask token>

<mask token>
paper.add(flag1)
<mask token>
flag2.flip()
paper.add(flag2)
flag2.flip()

<mask token>
width = 300
height = 300
paper = Canvas(width, height, 'white', 'Flipping(1)')
flag1 = Polygon(Point(width / 2, height * 3 / 4), Point(width / 2, height /
    4), Point(width / 4, height / 4), Point(width / 4, height / 4 + 20),
    Point(width / 4 + 20, height / 4 + 20), Point(width / 4 + 20, height * 
    3 / 4))
paper.add(flag1)
flag2 = flag1.clone()
flag2.flip()
paper.add(flag2)
flag2.flip()

from cs1graphics import *
width = 300
height = 300
paper = Canvas(width, height, 'white', 'Flipping(1)')
flag1 = Polygon(Point(width / 2, height * 3 / 4), Point(width / 2, height /
    4), Point(width / 4, height / 4), Point(width / 4, height / 4 + 20),
    Point(width / 4 + 20, height / 4 + 20), Point(width / 4 + 20, height * 
    3 / 4))
paper.add(flag1)
flag2 = flag1.clone()
flag2.flip()
paper.add(flag2)
flag2.flip()
