import turtle as tt |
tt.bgcolor( "black" ) |
tt.speed( 3 ) |
tt.right( 90 ) |
for i in range ( 4 ): |
if i % 2 = = 0 : |
tt.color( 'blue' ) |
else : |
tt.color( 'white' ) |
tt.begin_fill() |
tt.forward( 90 ) |
tt.left( 90 ) |
tt.circle( 90 , 90 ) |
tt.left( 90 ) |
tt.forward( 90 ) |
tt.end_fill() |
tt.penup() |
tt.goto( - 140 , 0 ) |
tt.pendown() |
tt.circle( 140 ) |