StdWt = 12.0 StdDist = 5.0 # For Roman: print "\nRoman:" for VarDist in range(1,21): WantedWt = float(VarDist) * float(StdWt/StdDist) print "Roman vardist %3.0f wantedwt %3.3f" %(VarDist,WantedWt) # For Aunsell: print "\nAunsell:" StdWt = 6.0 for VarDist in range(1,21): #WantedWt = float(StdWt) * float(VarDist/(22.0-VarDist)) WantedWt = (22.0-float(VarDist)) * float(StdWt)/float(VarDist) print "Aunsell vardist %3.0f wantedwt %3.3f" %(VarDist,WantedWt)