Python Code (Validating an algorithm – proving it is correct)
https://trinket.io/python/b05d0c1a00
MAIN ACTIVITY
In you tables create an algorithms to draw the following shapes.
Shape | |
Hexagon | |
Triangle | |
A staircase or zigzag |
Then go to the python script and validate (prove) the algorithm is correct.
https://trinket.io/python/b05d0c1a00
REFLECTION
What is a for loop?
Explain how your algorithms worked.