Beispiele und Musterlösungen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

02_dotted_line.py 239B

2 months ago
1234567891011121314
  1. # Sophia zeichnet eine gestrichelte Linie
  2. from turtle import Turtle
  3. sophia = Turtle()
  4. sophia.hideturtle()
  5. for _ in range(10):
  6. sophia.penup()
  7. sophia.forward(5)
  8. sophia.pendown()
  9. sophia.forward(5)
  10. sophia.screen.mainloop()