You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Python Projects/Intermediate Games/SketchBook/readme.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The code starts by importing the necessary libraries `Turtle` and `Screen` from
21
21
Two objects are created, `orbit` and `window`, using the `Turtle()` and `Screen()` functions respectively. The orbit object is assigned to the `turtle`, and the window object is assigned to the `window`.
22
22
23
23
```python
24
-
orbit.pensize(10)
24
+
orbit.pensize(10)
25
25
orbit.pencolor("red")
26
26
orbit.shape("turtle")
27
27
```
@@ -34,7 +34,7 @@ Several properties of the turtle object are set using the following lines of cod
34
34
-`orbit.shape("turtle")` sets the shape of the turtle to the default turtle shape.
0 commit comments