By mattalui

So I recently finished chapter two of my book. This is the chapter where things are starting to get a little more complicated.

I have been learning about boolean logic, statements, and operators. It’s pretty much a lot tougher now. But the cool thing is I’m actually writing stuff that looks like python now. It’s a lot more lengthy. It’s not just the simple stuff I used to do, like making strings and adding them together.

It’s especially cool cause In the Python in Practice section of the book we actually wrote a program that makes a bunch of tanks fight each other. I changed the numbers around a little so that the tank Bob would win.

I also wrote a little program that would pretty much do the same thing as rolling a die. It would randomly pick a number from one through 6. Yet again I played with the numbers a little so that it would randomly pick a number one through 100.

That’s pretty much everything I’ve been doing. I change a lot of the code around so I can learn it better. If I didn’t I would probably drive my self crazy with the word FUGU!

3 Responses to “”

  1. Justin Lilly Says:

    Great to see you’re making progress. Keep up the good work!

  2. Flimm Says:

    Looks great! I’m writing my first python PyGTK project now, but I’ve never tried PyGame, it’ll be interesting to see how you like it.

  3. Christian Widell Says:

    Good luck. I will follow this since I am trying to learn Python myself.

Leave a Reply