Wednesday, June 27, 2012
Wednesday, 27th June 2012
Today finally no wear full black
Instead, red top and white bottom
Think this pattern would be more suitable for Creative Concepts
Today's problem trigger is Belief
My team chose Plastic Surgery, is it okay?
I found a few pictures that has plastic surgery jokes in them
Arguments....
Seriously?
Instead, red top and white bottom
Think this pattern would be more suitable for Creative Concepts
Today's problem trigger is Belief
My team chose Plastic Surgery, is it okay?
I found a few pictures that has plastic surgery jokes in them
Arguments....
Seriously?
Tuesday, June 26, 2012
Tuesday, 26th June 2012
Today need learn molecular stuffs in science, don't think I know how to do this 1 lol
One good thing, group with Muffin =D
So troublesome to live and act normally
I think I will just be emo
One good thing, group with Muffin =D
So troublesome to live and act normally
I think I will just be emo
Monday, June 25, 2012
Monday, 25th June 2012
Today have to watch Matrix for Art of Story
I watched all three movies before -_-
Simply watched Dantalian no Shoka during the movie lol
Only help little in today's presentation
Changed powerpoint background to black and font to green for a Matrix feel
Went to Causeway Point's Pastamania for dinner with Muffin
She ordered Turkey Bacon Cheesy Crumble while I ordered Hawaiian Pizza
Everytime I say I eat Hawaiian Pizza at Pastamania, people will doubt me
Thought I referring to Pizza Hut -_-
Bought 5 boxes of tissue just now
Price tag wrote $4.00 but $2.99 when bring to counter
$3.00 for 5 boxes of tissue is cheap
I watched all three movies before -_-
Simply watched Dantalian no Shoka during the movie lol
Only help little in today's presentation
Changed powerpoint background to black and font to green for a Matrix feel
Went to Causeway Point's Pastamania for dinner with Muffin
She ordered Turkey Bacon Cheesy Crumble while I ordered Hawaiian Pizza
Everytime I say I eat Hawaiian Pizza at Pastamania, people will doubt me
Thought I referring to Pizza Hut -_-
Bought 5 boxes of tissue just now
Price tag wrote $4.00 but $2.99 when bring to counter
$3.00 for 5 boxes of tissue is cheap
Sunday, June 24, 2012
Sunday, 24th June 2012
Woke up at 4.30 pm today, nothing to do x.x
Ate potato chips and cadbury chocolate at late night
Also watched Dantalian no Shoka before sleep
Ate potato chips and cadbury chocolate at late night
Also watched Dantalian no Shoka before sleep
Saturday, 23th June 2012
Watched Finding Nemo with Muffin
Ate sushi before going my house
Then went to eat Mac Donald for dinner x.x
Double Cheese Burger~
Then play mahjong / poker with friends until late night 2 am lol
Ate Mac Donald again
This time is Mc Chicken Meal + some Mc Nuggets
Ate sushi before going my house
Then went to eat Mac Donald for dinner x.x
Double Cheese Burger~
Then play mahjong / poker with friends until late night 2 am lol
Ate Mac Donald again
This time is Mc Chicken Meal + some Mc Nuggets
Friday, June 22, 2012
Last Question in Programming UT 1
total = a+b
if (a > b):
diff = a - b
else:
diff = b - a
if (a == 7 or b == 7):
return True
elif (total == 7 or diff == 7):
return True
else:
return False
Friday, 22th June 2012
Today Communication Practice
Need go down for a talk, by Mr Sam Tan
Discussed about how communication barrier can be formed by 4 type of noises
- Physical
- Psychological
- Physiological
- Semantic
Afterwards, went for programming UT
So hard sia lol
Need go down for a talk, by Mr Sam Tan
Discussed about how communication barrier can be formed by 4 type of noises
- Physical
- Psychological
- Physiological
- Semantic
Afterwards, went for programming UT
So hard sia lol
Guessing Game
Made this game with the help of 6P and prior knowledge from ITE de C# programming
Just a simple guessing game in Python that only requires user to guess a digit from 1 to 99 by just entering the answer they feel is right
The code :
import random
ans = random.randint(1,99)
low = 1
high = 99
temp_low = 0
temp_high = 0
guess = ' '
tries = 1
while (guess != ans):
tries = tries + 1
guess = raw_input("Guess the number between 1 and 99: ")
try:
guess = int(guess)
if guess < 1 or guess > 99:
print "Please enter between 1 to 99"
exit()
except:
print "Invalid Entry, Game Over"
exit()
if guess < ans:
if guess > low:
temp_low = guess
low = guess
if low > temp_low:
low = low
else:
low = temp_low
print "You entered " + `guess`
print "It is HIGHER than " + `low` + " but LOWER than " + `high`
elif guess > ans:
if guess < high:
temp_high = guess
high = guess
if high < temp_high:
high = high
else:
high = temp_high
print "You entered " + `guess`
print "It is HIGHER than " + `low` + " but LOWER than " + `high`
print "Well done!"
print "The answer is "+ `ans` + "!"
print "You took " + `tries` + " tries"
if tries <= 5:
print "Wow, you're really lucky"
if tries > 5 and tries <= 10:
print "Not bad, quite lucky~"
else:
print "Nice effort, you might be luckier on next game!"
Gonna try create Scissor, Paper, Stone game with a similar concept when free
Just a simple guessing game in Python that only requires user to guess a digit from 1 to 99 by just entering the answer they feel is right
The code :
import random
ans = random.randint(1,99)
low = 1
high = 99
temp_low = 0
temp_high = 0
guess = ' '
tries = 1
while (guess != ans):
tries = tries + 1
guess = raw_input("Guess the number between 1 and 99: ")
try:
guess = int(guess)
if guess < 1 or guess > 99:
print "Please enter between 1 to 99"
exit()
except:
print "Invalid Entry, Game Over"
exit()
if guess < ans:
if guess > low:
temp_low = guess
low = guess
if low > temp_low:
low = low
else:
low = temp_low
print "You entered " + `guess`
print "It is HIGHER than " + `low` + " but LOWER than " + `high`
elif guess > ans:
if guess < high:
temp_high = guess
high = guess
if high < temp_high:
high = high
else:
high = temp_high
print "You entered " + `guess`
print "It is HIGHER than " + `low` + " but LOWER than " + `high`
print "Well done!"
print "The answer is "+ `ans` + "!"
print "You took " + `tries` + " tries"
if tries <= 5:
print "Wow, you're really lucky"
if tries > 5 and tries <= 10:
print "Not bad, quite lucky~"
else:
print "Nice effort, you might be luckier on next game!"
Gonna try create Scissor, Paper, Stone game with a similar concept when free
Subscribe to:
Posts (Atom)




