Answer:
"Word Processing Assignment
The answer is D. Only student B is correct. Student A is incorrect because static electricity can be detected through the principle of electrostatic induction, which will indicate if there are static electricity on the surface of an object. A device which can detect static electricity is an electroscope. Moreover, for student B, it is correct that the cause for electric current to flow is the uniform flow of free electrons.
Answer:
import turtle
my_turtle = turtle.Turtle()
my_turtle.speed(0)
my_turtle.pendown()
colours = ["yellow", "blue", "red", "orange", "cyan", "pink", "green", "brown"]
for sides in range(8):
my_turtle.pencolor(colours[sides])
my_turtle.forward(100)
my_turtle.left(45)
Explanation:
- The pencolor statement must be inserted before the forward() call otherwise you have no control over the color of the first line.
- You don't need the count variable, since the 'sides' variable is a perfect counter to index the colours array.