GoConqr has a new look! Let us know what you think.

Flashcards

FLASH CARDS VERY IMPOTANT

Vili Koroibulileka English 5.0Average rating 5.0 out of 5 (2 ratings) 7 cards

Cards in this deck (7)

  1. 1programmingProgramming is simply providing instructions to a computer to solve a problem
  2. 2how turtle worksimport turtle
    wn = turtle.Screen()
    daisy = turtle.Turtle()
  3. 3penup () and pendown()penup() tells the turtle to stop drawing, so it can be moved about without leaving a line
    pendown() tells the turtle to start drawing, so lines can be created
  4. 4pencolor()pencolor() can be used to change the colour of the line that is drawn by the turtle
  5. 5fillcolor(), begin_fill() and end_fill()tells what colour to fill in and when to start also when to end
  6. 6LoopsWhen we spot a repeating pattern, we can use a loop to make the code repeat, rather than typing it out multiple times
    eg: for x in range(n):
  7. 7ProcedureThe code would be much simpler if we could simply tell it to “draw a pentagon” instead of typing out the loop every time

Information

Description
Flashcards on FLASH CARDS VERY IMPOTANT, created by Vili Koroibulileka on 24/05/2021.
Created by
Vili Koroibulileka · May 2021
Updated
Jun 7, 2021
Views
24
Rating
Average rating 5.0 out of 5 (2 ratings)

Feedback

What is it about?

What do you think of the new look?

How do you like it?