Sunday, March 30, 2008

Mar 30

Today we learned about the range function. You can use the for function with range. We also learned about the enumerte that you can use inside the for loop. Enumerate takes the range(len)) functions and puts it in a easier way to enderstand.

Thursday, March 20, 2008

Mar 20

Learned about gasp today. It has a lot of bugs so it wasnt very easy. I deduced that sleep is the speed of how fast the thing is moving. I get pretty much all of the stuff i read except the formulas that didnt work because of errors. They weren't defined. Leanred how to make a ball bounce and make keyboard input work, with Mr. Whittakers help.

Monday, March 17, 2008

Mar 18

Today we mainly just did excersises too. We learned about how to count how many times a substring occurs in a longer string. We also learned how to remove sub strings and all sub strings for a given string.

Mar 17

Learned today about what a palindrome is. Leanred how to cheat using other functions that you had already named. Mostly today we just did excersises and didnt really do any new work and didnt learn anything specifically new.

Thursday, March 13, 2008

Mar 14

Learned about all the things you can do with the mod symbol. YOu can change wherea a number occures and makes things a lot simpler. Learned if you put a =0 after a paramater it makes it optional. Like putting =0 makes it defualt if you put nothing there it will default to 0.

Mar 13

Today i learned that you cannot change part of a string. That doesnt work. We also learned about the values of symblos and if theyre greater than or less than things. That was werid. A lso learned about the boolean operator in. It checks if a string is a substring of another string.

Tuesday, March 11, 2008

Mar 12

Today i learned about the len function. It tells you how long a string is. I learned about all the stuff brackets can do. Also learned about colons and what they can do, like all the wat through a certain point to a certain point. the brackets take which ever number is inside of the string and takes it. THe numbers start at 0 not one so kinda always add one to make it less confusing.