Session 2

LPTHW – Lesson 2, 3, 4, 5

Another pretty easy day that covered comments, basic math, variables and strings. Nothing much to note from lessons 2, 3 and 4, but lesson 5 did re-introduce me to %-style formatting. I had actually forgotten about this. A couple of Google searches seem to indicate that it has been replaced by a different {}.format() structure. In that case, I will make sure to learn / re-learn both. Also, although these lessons didn’t explicitly teach it, I went back and reviewed int() and round() as they seemed applicable to the math section.

Skipping ahead, it looks like the next 7 lessons are also pretty basic until Chapter 13, which introduces argv. I found this topic a bit confusing the first time around, but it should be easier to understand with more background. For the next couple of days, I may mix in a couple of code-reviews or other materials to keep myself from getting bored with the simpler lessons.