Activities/Turtle Art/Numbers

From Sugar Labs
Jump to navigation Jump to search
english | español | HowTo [ID# 46029] 


The Numbers Palette (purple)

examples (3)

TA-plus-example.png TA-mod-example.png TA-pythagoras-example.png

TA-minus-example.png TA-status.png

descriptions (3)

TA-number.svg number used as numeric input in mathematic operators
TAplus.svg addition adds two numeric inputs
TAminus.svg subtraction subtracts bottom numeric input from top numeric input
TAproduct.svg product multiplies two numeric inputs
TAdivision.svg division divides top numeric input (numerator) by bottom numeric input (denominator)
TA-mod.svg mod modular (remainder) operator
TA-left-bracket.svg TA-right-bracket.svg numeric extensions identity operators used for extending blocks (See example above)
TA-sqrt.svg square root calculate square root
TA-random.png random returns random number between minimum (left) and maximum (right) values
TA-equal.png equal? logical = operator (plugs into an If blocks on the Flow Palette)
TA-greater.png greater? logical > operator (plugs into an If blocks on the Flow Palette)
TA-less.png less? logical < operator (plugs into an If blocks on the Flow Palette)
TA-and.svg and logical ⋀ (and) operator (links conditional)
TA-or.svg or logical ⋁ (or) operator (links conditional)
TA-not.svg not logical ¬ (not) operator (links conditional)
TA-print.svg print Prints value in status block at bottom of the canvas (See example above)