D2 was imported twice as a typo. D3 was meant to be imported in place of the mistaken second import of D2.
time.sleep(2) on the last line was mistakenly tabbed out of the scope of the infinite loop. The code would thus be unreachable making the command of filling the screen with blue too fast.
In the example code:
D2
was imported twice as a typo.D3
was meant to be imported in place of the mistaken second import ofD2
.time.sleep(2)
on the last line was mistakenly tabbed out of the scope of the infinite loop. The code would thus be unreachable making the command of filling the screen with blue too fast.