Feladatok 3
This commit is contained in:
16
18 oldal/teknos3.py
Normal file
16
18 oldal/teknos3.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import turtle
|
||||
|
||||
#ablak
|
||||
a = turtle.Screen()
|
||||
a.bgcolor("white")
|
||||
a.title("Negyzet")
|
||||
|
||||
#rajzeszkoz
|
||||
Eszti = turtle.Turtle()
|
||||
Eszti.forward(40)
|
||||
|
||||
for i in range(18):
|
||||
turtle.forward(45)
|
||||
turtle.right(360 / 18)
|
||||
|
||||
a.mainloop()
|
||||
Reference in New Issue
Block a user