Download presentation

Presentation is loading. Please wait.

Published byTriston Haslam Modified over 3 years ago

1
Python Turtle Mini-Course

3
Operations go( n ) # n est un nombre turn ( d ) # d est longle color (green) width ( n ) invisible ( ) visible ( ) pen_up ( ) pen_down ( ) clear ( )

4
reset ( ) Example 1 for i in range (3) Go (100) Turn (360/3) Example 2 for i in range (90) Width ( i ) go (10)

5
Circle Color ( ? ) Width ( ? ) For i in range ( ?) : ?

6
Circles Color ( ? ) Width ( ? ) For i in range ( ?) : ?

7
Objects - Polygons def polygon (n): For i in range (n): go (50) turn (360/n) Dessiner des polygons?

8
Objects - Circles def circle (): For …. ? Declarer une liste: Color_list = [red, purple, ….] Dessiner des circles des different coleurs?

9
http://docs.python.org/library/turtle.html

Similar presentations

Presentation is loading. Please wait....

OK

We Can Read About Mixing Colors

We Can Read About Mixing Colors

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google