

Week#12 Grade 4 Edit a python Library
Presentation
•
Computers
•
4th Grade
•
Hard
Maha Abd Al Aziz Zuaiter
FREE Resource
10 Slides • 0 Questions
1
by Maha Abd Al Aziz Zuaiter
2
1A-AP-14: Debug (identify and fix) errors in an algorithm or program that includes sequences and simple loops.
3
Curriculum Link :-
Math : link it with math when turtle Robot moves certain number of steps .
4
Analyze python codes and Edit them
Discover code bugs [errors] and Debug [fix] them .
5
​
6
Open a Python Program in IDLE and Rename the File
⮚Open IDLE (Python)
⮚From the File menu, select Open
Go to the Turtle folder. ( Ask your teacher where this is located.)
⮚Select edit. Click open
⮚From the File menu, select Save As. Go to the place where you save your work.
⮚Add student name to the file name. Click Save
⮚Look at the first line of code. It imports the Turtle library of commands :
7
Edit the Title of the Window
⮚Find the code that has the title
from turtle import*
# set the background
title("Edit a python Script")
⮚From the Run menu, select Run Module.
⮚Look at the top of the canvas. It has the title :
Edit a python script
⮚Close the canvas and Python Shell.
8
title(" Edit a python script by student Name")
⮚From the File menu, select Save or press CTRL + S.
⮚From the Run menu, select Run Module.
⮚Look at the top of the canvas. It has the edited title :
Edit a python script by student name
⮚Close the canvas and python Shell.
9
⮚The screen size sets the width and height of the canvas. Change the canvas size :
screensize(1000,1000)
⮚ From the File menu, select Save or press CTRL + S.
⮚From the Run menu, select Run Module.
⮚Drag the scroll bars to see more of the window
⮚Close the canvas and Python Shell.
10
bgcolor("honeydew")
⮚Apply your skills to view the changes
Change the Speed, Pen size, and Shape of the Turtle
6.The speed that the Turtle moves can be changed. Try it !
7. The pen size can be set. A low value makes a thin line. A higher value makes a thick line. Change the pen size to a number between 1-10
by Maha Abd Al Aziz Zuaiter
Show answer
Auto Play
Slide 1 / 10
SLIDE
Similar Resources on Wayground
11 questions
Desktop Background
Presentation
•
4th Grade
8 questions
Declaration of Independence
Presentation
•
4th Grade
7 questions
Determining Theme
Presentation
•
4th Grade
6 questions
Expresiones lógicas (operadores relacionales y lógicas)
Presentation
•
4th Grade
8 questions
partes del computador
Presentation
•
4th Grade
9 questions
11 time tables
Presentation
•
4th Grade
10 questions
BE GOING TO- FUTURE
Presentation
•
4th Grade
10 questions
4th Grade Multiplication - Area Model, Distributive Property
Presentation
•
4th Grade
Popular Resources on Wayground
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade