All pastes #338463 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-02-03 13:44 UTC
rendered paste body
#!/usr/bin/python

class GraphColoring:
	def __init__(self, m=1, n=[1,2,3,4,5,6], k=[1,2,3,4,5,6,7,8]):
		self.m = m
		self.n = n
		self.k = k
		
	def nodes(self):
		lista_temp = []
		print self.m
		print len(self.n), len(self.k)
				
if __name__ == "__main__":
	graph = GraphColoring()
	graph.nodes()