# Program Homework2 for a in range (8, 20, 4): for b in range (1,4): #print (a,b) if (a%b >= b/3): if (a/4 <= b+1): print("homer") else: print ("marge") #end if else: #print (a%b, b/3) print ("bart") #end if #endfor #endfor