You can set any shape you create to have a color. In order for the color command to work, you must write the code as color = color.(fill in the color you want to choose). Below are the list of colors you can choose from.
color.red
color.green
color.blue
color.purple
color.yellow
color.orange
color.cyan
color.magenta
color.black
color.white
Comments in programming are great tools. They can be used to describe the code of each line so they are easy to understand and can help break it apart a little more. Anything after a "#" sign will be a comment and will not be read in the code. In the example below, you can see all the comments are in green and will not be read with the rest of the code.
You can add a trail behind your moving objects by adding the command "make_trail = True" in the name of the shape you are creating.
You can make the trail to be points by also adding trail_type = "points" into the shape of your object.
In the example you should see a straight trail after Sphere and a dotted trail after Sphere2