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