Today I am going to be finishing the small debugging lesson and then moving on to the looping lesson.
The debugging tutorial demonstrates the usage of "print In" statements for debugging. They allow you to see were your function stops transmitting which allows you to locate the problem.
And after a follow up page on some tips including leaving notes next to your work and explaining your code out loud I'm moving on to looping.
The intro to loops explained that this new function simply creates continues make a copy of what ever is in the loop function forever unless told otherwise. When making a loop you need to ask yourself three questions 1. what am I looping, 2. what do I want changed each time, 3. how long should it repeat.
This was followed by a quiz then a challenge.
The challenge had me make a code that ran numbers down the screen.
the next tutorial demonstrated the application of the loopier when drawing. They did this by making the loop repeat their drawing over to the side in a copy and past stile.
The challenge following this had me create a repeat of the ground untell the floor was covered.
Tomorrow I am going to progress further into the lesson.
No comments:
Post a Comment