All pastes #421672 Raw Edit

Mine

public python v1 · immutable
·published 2007-04-02 23:24 UTC
rendered paste body
class bmrCalc:	"""	@Author: Adam Miller	@Course: CS 430 	@Prof: Dr. Burris		Simple BMR claculation program	"""		a =[[0, 0],		[1, 1]]			b =[[1, 0],		[1, 0]]			c =[[0, 0],		[0, 0]]			def __init__(self):		print ".::BMR calculation program::."				def booleanProduct(self):		for i in range(2):			for j in range(2):				self.t = 0;				for k in range(2):					self.t = self.t + self.a[i,k] * self.b[k,j]				self.c[i,j] = self.t					print self.c		calcBMR = bmrCalc()calcBMR.booleanProduct()