Activities/Turtle Art/Numbers

From Sugar Labs

Jump to: navigation, search
english | español | HowTo [ID# 59803] 


The Numbers Palette (purple)

THIS PAGE IS OUT OF DATE SEE Activities/Turtle_Art#Numbers_Palette

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.svgnumberused as numeric input in mathematic operators
TAplus.svgadditionadds two numeric inputs
TAminus.svgsubtractionsubtracts bottom numeric input from top numeric input
TAproduct.svgproductmultiplies two numeric inputs
TAdivision.svgdivisiondivides top numeric input (numerator) by bottom numeric input (denominator)
TA-mod.svgmodmodular (remainder) operator
TA-left-bracket.svg TA-right-bracket.svgnumeric extensionsidentity operators used for extending blocks (See example above)
TA-sqrt.svgsquare rootcalculate square root
TA-random.pngrandomreturns random number between minimum (left) and maximum (right) values
TA-equal.pngequal? logical = operator (plugs into an If blocks on the Flow Palette)
TA-greater.pnggreater? logical > operator (plugs into an If blocks on the Flow Palette)
TA-less.pngless? logical < operator (plugs into an If blocks on the Flow Palette)
TA-and.svgand logical ⋀ (and) operator (links conditional)
TA-or.svgor logical ⋁ (or) operator (links conditional)
TA-not.svgnot logical ¬ (not) operator (links conditional)
TA-print.svgprint Prints value in status block at bottom of the canvas (See example above)
Personal tools
Namespaces
Variants
Actions
Sugar
Projects
Teams
Local Labs
Using the Wiki
Google translations