# set stroke color to black
stroke(0)
# set a strok width
strokeWidth(50)
# translate the canvas
translate(150, 50)
# set a line cap style
lineCap("butt")
# draw a line
line((0, 200), (0, 800))
# translate the canvas
translate(300, 0)
# set a line cap style
lineCap("square")
# draw a line
line((0, 200), (0, 800))
# translate the canvase
translate(300, 0)
# set a line cap style
lineCap("round")
# draw a line
line((0, 200), (0, 800))