Edit typos and grammar and add python files
This commit is contained in:
parent
c1222a8103
commit
991caf0521
16 changed files with 285 additions and 3 deletions
19
thinkcspy/Chapter-4-Exercises/Python-Files/problem9.py
Normal file
19
thinkcspy/Chapter-4-Exercises/Python-Files/problem9.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Runestone.Academy thinkcspy course
|
||||
# Chapter 4
|
||||
# Problem 9
|
||||
|
||||
import turtle
|
||||
wn = turtle.Screen()
|
||||
|
||||
stella = turtle.Turtle()
|
||||
stella.color("yellow")
|
||||
|
||||
stella.up()
|
||||
stella.forward(-50)
|
||||
stella.down()
|
||||
|
||||
for i in range(5):
|
||||
stella.left(144)
|
||||
stella.forward(-100)
|
||||
|
||||
wn.exitonclick()
|
||||
Loading…
Reference in a new issue