Odpowiedź :
Wyjaśnienie:
Wersja 1:
from turtle import *
penup()
goto(0,100)
color('red')
fillcolor('red')
for _ in range(6):
pendown()
width(2)
begin_fill()
circle(30)
end_fill()
penup()
right(60)
forward(20)
goto(-10,50)
fillcolor('yellow')
color('yellow')
begin_fill()
circle(30)
end_fill()
goto(0,10)
color('black')
right(90)
pendown()
forward(100)
penup()
goto(-180,-130)
color('black')
message1='Wszystkiego NAJLEPSZEGO!!!'
message2='Z okazji .....'
write(message1,font=('Times New Roman', 15, "normal"))
goto(-180,-150)
write(message2,font=('Times New Roman', 15, "normal"))
print(message1,'\n',message2)
goto(0,-170)
message = 'Podpis'
write(message, font=("Times New Roman", 10, "normal"))
print(message)
hideturtle()
Wersja 2:
from turtle import *
penup()
goto(0,80)
color('red')
width(10)
for i in range(12):
pendown()
circle(50)
penup()
right(30)
forward(10)
goto(-5,40)
width(30)
color('yellow')
pendown()
circle(20)
penup()
goto(50,-60)
right(60)
color('black')
width(15)
pendown()
forward(80)
penup()
goto(-180,-130)
color('black')
message1='Wszystkiego NAJLEPSZEGO!!!'
message2='Z okazji .....'
write(message1,font=('Times New Roman', 15, "normal"))
goto(-180,-150)
write(message2,font=('Times New Roman', 15, "normal"))
print(message1,'\n',message2)
goto(0,-170)
message = 'Podpis'