def getIncrementFromRank(rank):
 rankZone = int(math.floor((rank / 3)))
 rankModulo = (rank % 3)
 powerOfTen = pow(10, rankZone)
 moduloMultipliers = (1, 2, 5)
 return float((powerOfTen * moduloMultipliers[rankModulo]))

def getIncrementFromRank ( rank ) : rankZone = int ( math . floor ( ( rank / 3 ) ) ) rankModulo = ( rank % 3 ) powerOfTen = pow ( 10 , rankZone ) moduloMultipliers = ( 1 , 2 , 5 ) return float ( ( powerOfTen * moduloMultipliers [ rankModulo ] ) )
get the increment from the rank which is 0 at 1 and increases by three every power of ten .