Werewolf is coming...
Wednesday, 7. November 2007, 13:59:37
And a shaft of light shall sunder the heavens...
Saturday, 27. October 2007, 13:56:52
Sunday, 30. September 2007, 11:26:43
Tuesday, 11. September 2007, 15:18:12
Monday, 23. July 2007, 15:44:00
Tuesday, 19. June 2007, 15:13:08

Thursday, 14. June 2007, 16:52:37

def transfer(discs, source, destination, storage) :
# If there is nothing to transfer, do nothing.
if discs == 0 :
return
# Transfer all but the last disc to the temporary storage location
transfer(discs - 1, source, storage, destination)
# Transfer the last disc to the destination
print "Moving disc %d from %s to %s" % (discs, source, destination)
# Transfer all but the last disc from the temporary storage to the
# destination
transfer(discs - 1, storage, destination, source)
def main() :
n = int(raw_input("Enter the number of discs : "))
source = 'A'
destination = 'B'
storage = 'C'
transfer(n, source, destination, storage)
transfer(n, source, destination, storage)
(sykora@nexus)(pts/3 | 0 job(s))(Thursday June 14, 2007 : 22:08:54) (%:python)- python2.5 hanoi.py Enter the number of discs : 3 Moving disc 1 from A to B Moving disc 2 from A to C Moving disc 1 from B to C Moving disc 3 from A to B Moving disc 1 from C to A Moving disc 2 from C to B Moving disc 1 from A to B Enter the number of discs : 4 Moving disc 1 from A to C Moving disc 2 from A to B Moving disc 1 from C to B Moving disc 3 from A to C Moving disc 1 from B to A Moving disc 2 from B to C Moving disc 1 from A to C Moving disc 4 from A to B Moving disc 1 from C to B Moving disc 2 from C to A Moving disc 1 from B to A Moving disc 3 from C to B Moving disc 1 from A to C Moving disc 2 from A to B Moving disc 1 from C to B Enter the number of discs : 5 Moving disc 1 from A to B Moving disc 2 from A to C Moving disc 1 from B to C Moving disc 3 from A to B Moving disc 1 from C to A Moving disc 2 from C to B Moving disc 1 from A to B Moving disc 4 from A to C Moving disc 1 from B to C Moving disc 2 from B to A Moving disc 1 from C to A Moving disc 3 from B to C Moving disc 1 from A to B Moving disc 2 from A to C Moving disc 1 from B to C Moving disc 5 from A to B Moving disc 1 from C to A Moving disc 2 from C to B Moving disc 1 from A to B Moving disc 3 from C to A Moving disc 1 from B to C Moving disc 2 from B to A Moving disc 1 from C to A Moving disc 4 from C to B Moving disc 1 from A to B Moving disc 2 from A to C Moving disc 1 from B to C Moving disc 3 from A to B Moving disc 1 from C to A Moving disc 2 from C to B Moving disc 1 from A to B
3 : 7 4 : 15 5 : 31 ...
Thursday, 14. June 2007, 12:08:46
def guess(n) :
while True :
x = int(raw_input('Enter a number : '))
if x < n :
print 'You're too low.'
if x > n :
print 'You're too high.'
if x == n :
print 'You're absolutely right.'
return
def guess(n) :
x = int(raw_input('Enter a number : '))
if x < n :
print 'You're too low.'
guess(n)
return
if x > n :
print 'You're too high.'
guess(n)
return
if x == n :
print 'You're absolutely right.'
return
Friday, 1. June 2007, 05:03:09
Friday, 25. May 2007, 17:44:47
Showing posts 1 - 10 of 107.
anonymous
Anonymous writes: any hints for lvl 9 ??? pls help... dat horse ...
anonymous
anonymous
Anonymous writes: hello, im from brazil but im in canada and i ...
anonymous
elz writes: can sumbody plz help me wid level 12.......... Itz ...
anonymous
Alysha Jo writes: OMG i LOVE the lion the witch and the wardro ...
anonymous
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
| ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | |||||
Anusha's first expedition in the blogosphere.
Light Humor, nothing too deep though
Read it to believe.
My estranged friend finds a new place to vent his insanity.
Malaysia, Nature and Bichon Frise
I can't describe it, go see for yourself.
PK's blog
What the name says
Ravings of a Soccer Maniac
Well...um...er...
The Software and Productivity Guide. Hack your life!
The Gadget Guide. Gadgetize your world!
The Gaming Guide Kotaku.
Politics for the obliquely inclined.
What Lonely Planet missed or forgot entirely.
Lokon's new paradise.
Social Bookmarking - Why do the work when everyone else has already done it for you?
User Contributed, User Verified Tech News Domain
Commonwealth leaders are to meet in Trinidad with climate change a key issue in the last big summit before Copenhagen.
Lawyers for computer hacker Gary McKinnon are to challenge the home secretary's decision not to block his extradition to the US.
Plans for a new law on carbon emissions trading in Australia are thrown into chaos by an opposition revolt.
Steeplechase and hurdle racing in Australia's state of Victoria will be banned in 2010, prompted by 20 deaths of horses in two years.
The chirps and whistles of birdsong can help to provide an accurate estimate of the size of bird populations.