fork download
  1. from turtle import *
  2.  
  3. def koch0(bok):
  4. fd(bok)
  5. def koch1(bok):
  6. koch0(bok/3)
  7. lt(60)
  8. koch0(bok/3)
  9. rt(120)
  10. koch0(bok/3)
  11. lt(60)
  12. koch0(bok/3)
  13. def koch2(bok):
  14. koch1(bok/3)
  15. lt(60)
  16. koch1(bok/3)
  17. rt(120)
  18. koch1(bok/3)
  19. lt(60)
  20. koch1(bok/3)
Success #stdin #stdout 0.03s 12016KB
stdin
Standard input is empty
stdout
Standard output is empty