#------------------------------------------------------------------------------ # Range.py #------------------------------------------------------------------------------ def f(n): """ Find the smallest positive integer between 101 and less than n that is divisible by 21 """ for i in range(101, n): if (i % 21 == 0): return i # end if # end for # end f() #-- main program -------------------------------------------------------------- print( f(110) ) print( f(10_000_000) )