Tuesday, March 11, 2008

Mar 11

Learned about the is_prime and made it work more efficeitnly by making x = to 2 instead of 1. I still have a while to go on the rest of chapter 6 like the print digits. I forgot how to chop the digits off. Darn...

Monday, March 10, 2008

Mar 10

Today i modified the num_digits() code to accept 0 and a negative number by making special exceptions for 0 and timesing a negative number by -1 to make that work. Mainly just worked on chp6 excersiese. learnt about infinite loops, like when a said, while n is true and n is false essentially. THat was a duh.... moment.

Thursday, March 6, 2008

Mar 7

Today I learnt about triangular numbers and what they are. I learent about the repeditve positive values of doing algorithms over and over. That can be good. I learnt about functions and how they make everything not always shorter but easier to understand.

Wednesday, March 5, 2008

Mar 6

Learnt how to use tables and make two dimensional tables as well. Learnt about encapulation and how to tab a bunch of lines.

Tuesday, March 4, 2008

Mar 5

Today I learned about the while statement. I had learnt about this already in Guido and learnt more about it in python. Learned more about infinite loops and how to countdown and sequence and check how many of a number there is.

Monday, March 3, 2008

Mar 4

Finished the assignments. I learned how using return and one line of code how to do pretty much all of the functions. I learned that my problems with the celcuius and faerenheit was i didnt have the int and round functions in there to change the type and round off. Got it now though.

Sunday, March 2, 2008

Mar 3

Learned about that you cant put two parenthesis statements next to each other and make them times. you have to put the little times thingy. Learned to always put return, instead of print, and almost finished all the excersises.