0% found this document useful (0 votes)
15 views4 pages

Programs Python

The document uses the turtle library in Python to draw a face with eyes, a nose and a smile by having the turtle pen move and turn specified amounts of degrees and distances multiple times in for loops.

Uploaded by

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

Programs Python

The document uses the turtle library in Python to draw a face with eyes, a nose and a smile by having the turtle pen move and turn specified amounts of degrees and distances multiple times in for loops.

Uploaded by

ejaman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

# import turtle library

import turtle

my_wn = [Link]()

[Link](2)
for i in range(30):

[Link](5*i)

[Link](-5*i)

[Link](i)

[Link]()

------------------------

import turtle

[Link](4)

[Link](3)

#left eye

[Link]()

for i in range(5):

[Link]()

[Link](25)

[Link](90)

#right eye

[Link](90)

[Link]()

[Link](50)

for i in range(4):
[Link]()

[Link](25)

[Link](90)

#nose

[Link](90)

[Link]()

[Link](35)

[Link]()

for i in range(2):

[Link](25)

[Link](90)

[Link](50)

[Link](90)

#smile

[Link](25)

[Link](90)

[Link]()

[Link](25)

[Link]()

[Link](135)
[Link](30)

[Link](45)

[Link](60)

[Link](45)

[Link](30)

----------------------

You might also like