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