All pastes #419837 Raw Edit

Something

public python v1 · immutable
·published 2007-04-01 17:46 UTC
rendered paste body
for a in range(10**3+1,10**4):	for b in range(10**3+1,10**4):		for c in range(10**3+1,10**4):			for d in range(10**3+1,10**4):				for e in range(10**3+1,10**4):					for f in range(10**3+1,10**4):						if is_cyclic(a,b,c,d,e,f):							if is_t(a) or is_t(b) or is_t(c) or is_t(d) or is_t(e) or is_t(f):								if is_s(a) or is_s(b) or is_s(c) or is_s(d) or is_s(e) or is_s(f):									if is_p(a) or is_p(b) or is_p(c) or is_p(d) or is_p(e) or is_p(f):										if is_h(a) or is_h(b) or is_h(c) or is_h(d) or is_h(e) or is_h(f):											if is_he(a) or is_he(b) or is_he(c) or is_he(d) or is_he(e) or is_he(f):												if is_o(a) or is_o(b) or is_o(c) or is_o(d) or is_o(e) or is_o(f):														print str(int(a+b+c+d+e+f))