Programming

Programming

This is something I learned in logo.


Loops

In coding we use something called a loop to repeat an action for us so that we dont have to do a task over and over again.

Variables

Variables are used in code to change values.

Conditionals

Finally there are conditionals. Conditionals are if statements, so you can make lets say a ball like in the game pong bounce off the bar the player controls "if" it touches it. That is an example of an if statement.

Functions

Functions organize your code, like this tree function.


I made a tree function using if statements.