Jed Rembold
February 27, 2026

Which of the below blocks of code will create the image to the right?
The window measures 500 x 200 pixels and the value of
d is 150.
x, y = 250 - d / 2, 100 - d / 2
a1 = GArc(x, y, d, d, 90, -180)
gw.add(a1)
x, y = 250 - d, 100 - d
a1 = GArc(x, y, d, d, -180, 90)
gw.add(a1)
x, y = 250 - d / 2, 100 - d / 2
a1 = GArc(x, y, d, d, 90, 180)
gw.add(a1)
x, y = 250 - d / 2, 100 - d / 2
a1 = GArc(x, y, d, 180, -90)
gw.add(a1)
arrow.py, I’ve drawn the initial
shaft of an arrow for you (you are welcome)
GCompound and
add everything to that insteadGCompound to the left edge of
the window, and animate it flying to the right