Aristillus

A large crater to dump my thoughts

Posts Tagged ‘pseudocode

vacation.py

leave a comment »

for day in range(14):
    breakfast() # 7:30
    if day % 3 != 0:
        cycle(direction=SOUTH_EAST, distance=random.randint(110, 200))
    else:
        tent.pack_up()
        car.drive(direction=SOUTH_EAST)
        tent.unpack()
        prepare_dinner()
    # Approx 16:00
    relax()
    dinner() # 18:00
    beer_and_cards()
    sleep() # 23:00
Advertisements

Written by aristillus

July 2, 2010 at 15:43

Posted in Uncategorized

Tagged with , ,