البرمجة مع لغة PYTHON TURTLE

Slides:



Advertisements
Similar presentations
Python Turtle Mini-Course. Operations go( n ) # n est un nombre turn ( d ) # d est longle color (green) width ( n ) invisible ( ) visible ( ) pen_up.
Advertisements

Noadswood Science,  To understand the flow procedure when writing programs Thursday, January 15, 2015.
Function in Notepad def drawSquare(myTurtle): myTurtle.forward(100) myTurtle.right(90) # side 1 myTurtle.forward(100) myTurtle.right(90) # side 2 myTurtle.forward(100)
Day 1 Goal: To create a model of people hunting in the forest for mushrooms and then start working on improving their mushroom hunting ability mathematically.
Creating a Histogram using the Histogram Function.
Super Logo. Key Instructions Pendown penup Forward 50 ( this number can change) Right 90 ( this number can change as well) Now try and draw a Early finishers,
Lecture 2. Review To play with Turtle, we need to download and install followings: 1.JDK 6 2.Dr. Java 3.Sample program (e.g. BookClass)
Lecture 6. What is the difference in pictures ???
Lecture 5. Review (Attributes and Methods) Class will contain –a set of attributes and methods public class Turtle { ///// Field (Attributes) ///// …
B.A. (Mahayana Studies) Introduction to Computer Science November March Logo (Part 1) An introduction to Logo: drawing, moving,
Turtle Graphics  Turtle graphics provide a simple way to draw pictures in a window.  The name suggests the way in which we can think about the drawing.
Noadswood Science,  To know the basics of Python coding and decoding Monday, September 07, 2015.
Mini Project II – Drawing Machine
AP Computer Science Principles Data Abstraction and Procedural Abstraction Curriculum Module.
LOGO SOFTWARE BY: SAVE 9S. INTRODUCTION Logo is a software that can be found at : Shared area> High School > ICT > take home software > LOGO32. This is.
Programming Training kiddo Main Points: - Python Statements - Problems with selections.
Tao Ju, Ron Goldman Rice University
Object-Oriented Programming. Object-oriented programming  First goal: Define and describe the objects of the world  Noun-oriented  Focus on the domain.
Microsoft® Small Basic
Computer Science 111 Fundamentals of Programming I Introduction to Graphics.
1 CSC 221: Computer Programming I Fall 2011 Fun with turtle graphics  turtle module  relative motion (setup, reset, left, right, forward, backward) 
Main Points: - Python Turtle - Fractals
Class 2 Introduction to turtle graphics
Turtle Graphics  Turtle graphics provide a simple way to draw pictures in a window.  The name suggests the way in which we can think about the drawing.
1 Turtle Graphics and Math Functions And how you can use them to draw cool pictures!
TURTLE GRAPHICS IP MR. MELLESMOEN. LOGO IN THE 1970’S THERE WAS A SIMPLE BUT POWERFUL PROGRAMMING LANGUAGE CALLED LOGO THAT WAS USED BY A FEW.
Hello, little turtles. Hello, little turtles! There are many modules in Python that provide very powerful feature that we can use in our own program.
Logo For beginners By Dali Matthews 9S What is logo?
An introduction to Logo Mike Warriner Engineering Director, Google Note: This course is not an endorsement of Logo by Google. All views in this document.
Photoshop Basics Computer Information Technology Section 5-3.
Xin Liu. * Use python 3.0 or later version * Major differences from earlier versions * Interactive mode * For quick experiments * “python3” to enter *
Cheek Cell LAB.
Week 2 DO NOW QUESTIONS. In this procedure the programmer intended to clear all the turtles and patches and make a new turtle of size 3 with the pen down,
The Hare Raising Experience of Logo in the Classroom
Goal Setting. Setting Goals is the first step in turning the invisible into the Visible – Tony Robbins Today is the start of a new school year. Answer.
1 Scatter Plots on the Graphing Calculator. 12/16/ Setting Up Press the Y= key. Be sure there are no equations entered. If there are any equations,
LOGO For the beginner Made by Rio Narazaki. W HAT I S L OGO ? Logo is a computer programming language used in Education. Logo is very easy to use. The.
06-Intro-Object-Oriented-Prog1 Barb Ericson Georgia Institute of Technology July 2009 Introduction to Object-Oriented Programming in Python.
Turtle Graphics Lesson 2 1. There are 3 homeworks to complete during the six lessons of this unit. Your teacher will let you know when a homework has.
Using the Python Turtle
Graphics CIS 40 – Introduction to Programming in Python
For vs. While loop count=0 while count< 5: for count in range(5):
LOGO BY Kaotip 9S.
While loop Get names up to five times count=0 while count< 5:
Main Points: - Python Turtle - Fractals
More methods, more capabilities
Laser radiation when open and interlock defeated.
A B C D E F G H U T S R Q P O N I J K L M Z Y X W V 6 Reset scores
A Tiny Look at the Graphics Window
Canon Customer Support First you need to turn on your Printer. Press & hold the “Reset button” on the printer. While pressing the “Reset.
CS 100: Roadmap to Computing
Sound VS Light One Pager (Must be colorful!!!)
Microsoft® Small Basic
Learning to Program in Python
Chart Tools Design Tab.
CS 100: Roadmap to Computing
Scatter Plots on the Graphing Calculator
CSE 113 A January 26 – 30, 2009.
Chap. 3 Functions Start Python IDLE (Shell) and open a new file.
Main Points: - Python Turtle - Fractals
Introduction to Turtle Graphics
Using Logo and Logic This presentation uses a version of Logo called StarLogo available through MIT. It can be downloaded for free and installed on your.
Scatter Plots on the Graphing Calculator
A Tiny Look at the Graphics Window
Logo Programming.
NEW MODEL RECALLIBRATION
Averages and Range: Mean from a list of data – version 2
From planting to ….
Python Classes In Pune.
Presentation transcript:

البرمجة مع لغة PYTHON TURTLE

PYTHON TURTLEتثبيت لغة مرحبا بك في اعدادات لغة البايثون

شروط وقوانين اللغه هل انت موافق غير موافق تم الانتهاء من التثبيت

مكونات الشاشة الرئيسية القائمة الرئيسية للبرنامج منطقة تنفيذ الاوامر بواسطة السلحفاة منطقة كتابة الاوامر

PYTHON TURTLEكتابة الاوامر بلغة لتنفيذ أي امر نضغط على ENTERالمفتاح انتر 1- امر تحريك السلحفاة GO Go(90) Go(-90) Go(120) Go(-120)

2- امر تدوير السلحفاة TURN لتنفيذ أي امر نضغط على ENTERالمفتاح انتر 2- امر تدوير السلحفاة TURN Turn (90) Turn(120) Turn (-90) Turn(-120)

امر مسح الشاشة وارجاع السلحفاة الى مكانها في الوسط RESET

التدريب الاول البرمجة مع لغة PYTHON TURTLE التعرف على لغة البرمجة بايثون تثبيت لغة البرمجة التعرف على الشاشة الرئيسية للغة كتابة الاوامر الاولى الواجب : حل س 2 ص 158

امر رفع ونزول القلم عن السلحفاة 100 Pen_up() Pen_down() 50 Go(100) Turn(90) Pen_up() Go(50) Pen_down()

امر اظهار واخفاء السلحفاة Visible invisible Visible()

امر تغيير اللون ومسح الشاشة Color clear

التدريب الثاني امر رفع ونزول القلم عن السلحفاة امر اظهار واخفاء السلحفاة امر تغيير اللون ومسح الشاشة الواجب : س 2 ص164

تغيير سماكة الخط width

امر تكرار الاوامر for i in range () لرسم مربع

لرسم مثلث

لرسم دائرة

انطلاقة السلحفاة

رسم شكل هندسي

التدريب الثالث امر تغيير سماكة الخط امر تكرار مجموعة من الاوامر الواجب: حل س2 ص 172