in the function definition:
when the if is true, does the for loop stop looping, or does it continue looping?def smalestClosest(input): for smalest in rebars: if float(smalest)<input and float(smalest)>math.floor(input): result[smalest]=rebars[smalest] return
I thought you'd be able to tell me since you wrote it.