0% found this document useful (0 votes)
193 views2 pages

Domek Python Kolorowy

The document contains a Python script using the Turtle graphics library to create a drawing. It sets a light blue background and draws a brown square, a yellow triangle, and additional brown and black shapes. The script also includes a blue square, showcasing various turtle commands for shapes and colors.

Uploaded by

marcioch2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
193 views2 pages

Domek Python Kolorowy

The document contains a Python script using the Turtle graphics library to create a drawing. It sets a light blue background and draws a brown square, a yellow triangle, and additional brown and black shapes. The script also includes a blue square, showcasing various turtle commands for shapes and colors.

Uploaded by

marcioch2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

import turtle

[Link]('light blue')

t = [Link]()

[Link]('brown')

t.begin_fill()

[Link](100)
[Link](90)
[Link](100)
[Link](90)
[Link](100)
[Link](90)
[Link](100)
[Link](90)

t.end_fill()

t = [Link]()

[Link]('yellow')
t.begin_fill()

[Link](100)
[Link](120)

[Link](100)
[Link](120)

[Link](100)
[Link](120)

t.end_fill()

[Link]('brown')
t.begin_fill()

[Link](100)
[Link](90)
[Link](100)
[Link](90)
[Link](50)
[Link](90)

[Link]('black')
t.begin_fill()

[Link](40)
[Link](90)
[Link](25)
[Link](90)
[Link](40)

t.end_fill()
[Link]('brown')
[Link](90)
[Link](50)
[Link](90)
[Link](50)
[Link](90)

[Link]('blue')
t.begin_fill()
[Link](20)
[Link](90)
[Link](20)
[Link](90)
[Link](20)
[Link](90)
[Link](20)

t.end_fill()

You might also like