turtle.fd(bok)
turłle.rt(135)
lurtle.fd(polowaPrzek)
turtle.rt(90)
lurtle. fd(polowaPrzek)
turtle.lt( 135)
lurlle.fd(bok)
lurtle.lt(135)
turtle.fd(polowaPrzek)
lurtle.ft(90)
turtle.fd(polowaPrzek)
turtle.lt( 135)
turtle.fd(bok)
turtle.rt(135)
turtle.fd(polowaPrzek)
turtle.rl(90)
lurtle. fdfpolo waPrzek)
turtle.rt(45)
turtle.fd(bok)
turtle.doneO
7. PTASZEK
import turtle def main():
turtle.lt([30^_
turtle.fd(20); turtle.bk(20) turtle.rt(60)
turtle.fd(20); tunlc.bk(20)
turtle.lt(30)
turtle.doneO
main()
8. SKOKI
import turtle for i in range( 10): turtle.fd(10) turtle.pu() turtle.fd(lO) turtle.pdO turtle.doneO
9. SNAKE
import turtle for i in range(5):
turtle.fd(10); turtle.lt(90) turtle.fd(20); turtle.rt(90)
K
| KOmentara [MO]: p |
[ Komentarz [kil]: q~