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

OK

Catch the Wave 2016. Wave Rate D = measured distance between sensors.

Catch the Wave 2016. Wave Rate D = measured distance between sensors.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on supply chain management of mcdonald Ppt on arithmetic micro operations Ppt on ac and dc servo motor Ppt on lateral thinking by edward de bono Ppt on solar system for class 7 Ppt on regional transport office chennai Ppt on problem solving steps Ppt on indo islamic architecture Ppt on weapons of mass destruction in iraq Web development seminar ppt on 4g