Wednesday, February 9, 2011

Experience Python3

Well yesterday I had a problem trying to run the example I was doing in python in line 8, the mistake was that I indented this:
         if number != 0:
        count = count + 1
        sum = sum + number
When it shoulndt of been indented, after fixing the problem I went back to the terminal and check if it work by pressing f3 in the python shell and it work it give a numbers to type and ones you guess the number it averages them.

After that, Jose needed some help validating his web site and copying a picture from his desktop to the server so I helped him out and that took must of the class period because I also needed to explain him how to do it.  

1 comment:

  1. Wow! You fixed your own bug. Nice work! I had already added feedback on yesterday's post about the indentation problem, but you figured it out on your own. Sweet!

    ReplyDelete