Advertisement
TTpocToXaKep

Snowflake draw on turtle module

Jan 31st, 2023 (edited)
617
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 1 0
  1. # https://pastebin.com/u/TTpocToXaKep
  2. from turtle import *
  3.  
  4. color('blue', 'darkblue')
  5.  
  6. begin_fill()
  7. while True:
  8.     forward(200)
  9.     left(170)
  10.     if abs(pos()) < 1:
  11.         break
  12. end_fill()
  13. done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement