python (3.12.0)
̑e* @ d Z ddl d Zedk( r e e yy)z turtle-example-suite:
tdemo_peace.py
A simple drawing suitable as a beginner's
programming example. Aside from the
peacecolors assignment and the for loop,
it only uses turtle commands.
)*c d} t t t t dd t d | D ]X }t | t
t d t t d t d t d t d Z t d t d t d
d t
t d t d t d
t t d t d t d t
t d t t d t d t
t d t t d
d y)N)red3orangeyellow seagreen4orchid4
royalblue1dodgerblue4ii=F i Z B whiter iV iT - i, zDone!)resetScreenupgotowidthcolordownforwardbackwardleftrightcircle)peacecolorspcolors D/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/turtledemo/peace.pymainr# s 0K
G
HDdO "I
f
R
b
"I 'N4LF
3KHCLDICL "IFCLDSMHFCLD3K __main__N)__doc__turtler# __name__mainloop r$ r"