def func (a, b=0): i=a if ab: while a>= i >b: i=i-1 if i/2 !=i/2.0: print i else: print'end of loop'