Prototype Two
Prototype Video Link: https://www.useloom.com/share/abd75591c7044d6a9dd8669d9e7e54bf
Loops in Python
1. For Loops iterate over a given sequence. The code below will print x for 6 iterations.
https://dcs102.files.wordpress.com/2018/03/aaaa2.png
2. While Loops repeat as long as the condition is met. The code below prints x while it is less than ten, and then adds one before repeating. This code prints every integer up to 10 starting with 0.
https://dcs102.files.wordpress.com/2018/03/aaaa1.png
3. Else. The code below prints x while x is less than ten. Once the condition x<10 is no longer met, it prints y.