Quote Originally Posted by Einsener37 View Post
Sorry,
Could you explain that a bit more in detail? Cause i didn't quite undestand
in the function definition:
def smalestClosest(input):
    for smalest in rebars:
        if float(smalest)<input and float(smalest)>math.floor(input):
            result[smalest]=rebars[smalest]
    return
when the if is true, does the for loop stop looping, or does it continue looping?
I thought you'd be able to tell me since you wrote it.