Download presentation

Presentation is loading. Please wait.

Published byTriston Haslam Modified over 2 years ago

1
Python Turtle Mini-Course

2

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

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google