Nov 13, 2005 #1 eamc Technical User Sep 3, 2001 83 US When I write: for i in range (0,1296,1): for j in range (0,648,1): for k in range (0,648,1): if i*j*k == 1296: print i,j,k The results are missing 1296 1 1, 648 1 2, 648 2 1, etc. What am I doing wrong?? Edwin M.
When I write: for i in range (0,1296,1): for j in range (0,648,1): for k in range (0,648,1): if i*j*k == 1296: print i,j,k The results are missing 1296 1 1, 648 1 2, 648 2 1, etc. What am I doing wrong?? Edwin M.
Nov 14, 2005 #2 ericbrunson Technical User Jan 9, 2004 2,092 US RTFM: http://docs.python.org/lib/built-in-funcs.html#l2h-56 Upvote 0 Downvote