number1
+, -, *, /, ^
number2
Parameters:
number1 |
Number |
|
number2 |
Number |
|
Description:
Basic math functions. Be sure to put a space between the numbers and the symbol.
Examples:
5 + 3
returns 8
variable1 * variable2
returns the product of the numbers stored in variable1
and variable2
xcor ^ 2
returns the square of the turtle's x coordinate.