O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

revision

jodie stanton Inglês 12 flashcards

revision

Flashcards do conjunto (12)

  1. 1—import turtle
    wn = turtle.Screen()
    daisy = turtle. Turtle()
  2. 2programming definitionprogramming is simply providing instructions to a computer to solve a problem.
  3. 3problem solvingThe main skill that programming requires is problem solving
    To solve problems, we mustn’t be afraid to get it wrong
  4. 4pythonpython is a programming language
    instructions are written using python, which the computer then executes.
    python is supported on nearly every device.
  5. 5what code do we use to start.import turtle
    wn = turtle.Screen()
    daisy = turtle.Turtle()
  6. 6penup()penup() - tells the turtle when to stop drawing and move to another destination without leaving a line towards that direction. like penup()
    daisy.forward(34)
  7. 7pendown()pendown() - tells the turtle to start drawing, so lines can be created.
  8. 8pencolor()pencolor() - in the code where it says colour it is spelt the american way instead.
    When doing the code you have to put pencolor("blue") you have to put speech marks.
  9. 9fillcolor(), begin_fill() and end_fill()filling in the shape is trickierfillcolor(), begin_fill() and end_fill()
  10. 10loopswhen we spot a pattern repeating we can use a more efficient way to lay it out.
    To loop a code we use: for X in range (5):
    And then indent the code we wish to loop:
    for x in range (4):
    bobby.forward(300)
    bobby.left(50)
  11. 11mathstyping 360/6 will calculate the angle, without us having to do it.maths
  12. 12defining a proceduredefining a procedure

Informações

Descrição
FlashCards sobre revision, criado por jodie stanton em 24-05-2021.
Criado por
jodie stanton
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?