We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d97324 commit e04462cCopy full SHA for e04462c
Things and architectire in Python/PinkIceCream.py
@@ -0,0 +1,50 @@
1
+#pink ice cream cone drawing in Python
2
+
3
+import turtle
4
+import random
5
6
+t = turtle.Turtle()
7
+screen = turtle.Screen()
8
+t.speed(0)
9
10
11
+screen.bgcolor("light blue")
12
13
14
+t.penup()
15
+t.goto(-150,0)
16
+t.pendown()
17
+t.begin_fill()
18
19
+for i in range(3):
20
+ t.forward(350)
21
+ t.right(120)
22
23
+t.end_fill()
24
25
26
+t.right(45)
27
+t.color('pink')
28
29
30
+for i in range(4):
31
+ for i in range(10):
32
+ t.forward(10)
33
+ t.left(10)
34
+ t.right(100)
35
36
37
38
39
+t.left(100)
40
+left =15
41
42
43
+for i in range(41):
44
+ t.left(6)
45
+ t.forward(21.7)
46
+ left +=1
47
48
49
50
+turtle.done()
0 commit comments