Activities/Turtle Art/Toolbars: Difference between revisions
| Line 251: | Line 251: | ||
* print: print value in status block (also available in Turtle Art) | * print: print value in status block (also available in Turtle Art) | ||
* comment: program comment (displayed in "walk" mode) | * comment: program comment (displayed in "walk" mode) | ||
* chr: Python chr primitive: converts ASCII to character (useful for converting keyboard input to text) | |||
* int: Python int primitive: converts input to integers | |||
* Python: a [[Activities/TurtleArt-0.88#Python_function_block|programmable block]] (can be used in place of a number block) | * Python: a [[Activities/TurtleArt-0.88#Python_function_block|programmable block]] (can be used in place of a number block) | ||
:: add your own math equation in the block, e.g., sin(x); This block is expandable to support up to three variables, e.g. f(x,y,z) | :: add your own math equation in the block, e.g., sin(x); This block is expandable to support up to three variables, e.g. f(x,y,z) | ||