Changes

Jump to navigation Jump to search
Line 672: Line 672:     
===Understanding the Structure of Turtle Art===
 
===Understanding the Structure of Turtle Art===
 +
Turtle Art offers two blocks for adding Python code, the Python function block adds a single line of code, the Python code block suppoprts multi line code.
 +
 +
====Python function block====
 +
 +
====Python code block====
 
Turtle Art is created in object oriented Python code. This is based around the definition of classes and the creation of object(s) which are instance(s) of that class. These objects then have properties and methods which are defined by their class.
 
Turtle Art is created in object oriented Python code. This is based around the definition of classes and the creation of object(s) which are instance(s) of that class. These objects then have properties and methods which are defined by their class.
  
2,486

edits

Navigation menu