We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3502998 commit f61d0efCopy full SHA for f61d0ef
1 file changed
CodeHS/2/12/4/Colored-Dartboard-Travis.py
@@ -0,0 +1,21 @@
1
+"""
2
+Draws 4 circles
3
4
+speed(0)
5
+radius = 125
6
+penup()
7
+right(90)
8
+forward(100)
9
+left(90)
10
+for i in range(4): ## Draws a circle with radius and color_choice color. repeats 4 times
11
+ pendown()
12
+ radius = radius - 25
13
+ color_choice = input("Color of the circle?: ")
14
+ color(color_choice)
15
+ begin_fill()
16
+ circle(radius)
17
+ end_fill()
18
+ penup()
19
+ left(90)
20
+ forward(25)
21
+ right(90)
0 commit comments