Some old changes on Project Euler #009 that I belive needs to be submitted.

This commit is contained in:
2015-03-01 23:07:26 +04:00
parent 5c33dd2a7d
commit dd4edc9bf5

View File

@@ -43,4 +43,3 @@ for a in range(1,500):
print( a, b, 1000-a-b, '->', a**2, '+', b**2, '=', a**2+b**2 ) print( a, b, 1000-a-b, '->', a**2, '+', b**2, '=', a**2+b**2 )
print( ' while (1000-a-b)**2 =', (1000-a-b)**2 ) print( ' while (1000-a-b)**2 =', (1000-a-b)**2 )
print( 'product =', a*b*(1000-a-b) ) print( 'product =', a*b*(1000-a-b) )
print( 'product =', (a+b)*(5*(10**5)+10**3) - (a+b)**2 - 5*(10**8) )