2006-10-02

ckd: (cpu)
#!/usr/bin/env python

# set up items, define is_type_x functions, etc

list_a = list_b = list_c = []

for item in items:
    if is_type_a(item):
        list_a.append(item)
    elif is_type_b(item):
        list_b.append(item)
    elif is_type_c(item):
        list_c.append(item)
    else:
        print 'wtf is this?',item
answer inside cut )

Don't ask how long I was beating my head against this one.

Profile

ckd: small blue foam shark (Default)
blue shark of friendliness

January 2026

S M T W T F S
    123
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated 2026-02-07 20:20
Powered by Dreamwidth Studios