Wednesday, February 27, 2008

28, Feb 2008

Today, I have worked on chp.5 excercises which are about 'compare', 'hypotenuse', 'slope',etc. And then we use doctest to check whether we got the correct codes up there or not. Have a nice weekend... I did up to level 4?

Tuesday, February 26, 2008

Feb 27

Today, the whole period, we listened to the lecture over chp.5 Which talks about things such as triple ''' which documenterize the phyton and make it possible to quote " ,' within it.

Monday, February 25, 2008

Feb 26

Yesterday, I left earlier due to the soccer match away. Yet, I did the assignments of the day. Today, I completed task #9 which is drawing a house and enlarging process. Umm,. not completed with the enlarging stuff.. we are working on it as a class.

Thursday, February 21, 2008

Feb22/2008

Today, We've took a quiz which is really hard. And, we have worked on the truth table. We will get to know what was that for on next monday. Have a nice weekedend~...!

Wednesday, February 20, 2008

Feb21/2008

Today I finished drawing~ my artistic work...

Tuesday, February 19, 2008

Feb 20

Today, I learned how to draw by using the 'shell'... fantastic~

Monday, February 18, 2008

Feb19

Today, I studied about import in the beginning of the class... Yesterday, I wasn't here because I had a day off due to the immigration stuff... Plus, I learned some part of chapter 4 today...

Thursday, February 14, 2008

Feb 15/2008

Today, We had a quick review over chapter 3. We learned what is function, parameter, def, etc.
Have a nice weeked~

Wednesday, February 13, 2008

Feb 14/2008

Today, I have finished the chapter2? excercises including the mad-lib. I miss u Mr.W

Tuesday, February 12, 2008

feb 13 2008

Today I worked on Chp.2 the last section, madlib... It was ridiculous that all the nouns, verbs, etc does not match with the sentence that I put. haha fun~~~

Monday, February 11, 2008

Feb12/ 2008

today we worked on Chp2 Section 13 and we recorded the answers. Plus, from today we started to use Fire Fox instead of Internet Explorer which is much more comfortable.
Fire Fox can't open a new window beside the current web page which is really inconvinient. Thank you very much Fire Fox. Now I know why majority of the people use Internet Explorer, that's because it is better. It is not because of the monopoly of market by MicroSoft.

Feb11/2008

I leaved the class early today because of soccer - Feb 11 Monday 2008

Tuesday, February 5, 2008

Feb 06

Today, I worked on greeting message. spash~~~ yeah ap~
very nice~ Have a nice Chinese New Year~~

Monday, February 4, 2008

code for crowdmaze

define turnaround:
do 2:
turnleft
define backup:
turnaround
move
turnaround
define turnright:
do 3:
turnleft
define solve:
while next_to_a_beeper:
pickbeeper
if front_is_clear:
move
solve
backup
if left_is_clear:
turnleft
move
solve
backup
turnright
if right_is_clear:
turnright
move
solve
backup
turnleft
solve
turnoff

code for step17

define turnright:
do 3:
turnleft
define movewall:
while front_is_clear:
move
define pickall:
move
while next_to_a_beeper:
pickbeeper
define cleartowall:
while front_is_clear:
pickall
define nuke:
cleartowall
turnleft
while not_facing_west:
turnleft
nuke
nuke
while left_is_clear:
cleartowall
turnleft
pickall
turnleft
cleartowall
turnright
if front_is_clear:
pickall
turnright
cleartowall
while any_beepers_in_beeper_bag:
putbeeper
turnleft
turnleft
nuke
cleartowall
turnoff

Sunday, February 3, 2008

Feb04

Today, at the beginning of the class I finished step17 and started working on the new task which looked quite more complex. It was literally crowded with beepers. It seem almost impossible to solve the task, yet, I have completed my mission because the generous Mr.W gave us the code.