# Python program explaining # numpy.mod() function import numpy as np in_num1 = 6 in_num2 = 4 print ("Dividend : ", in_num1) print ("Divisor : ", in_num2) out_num = np.mod(in_num1, in_num2) print ("Remainder : ", out_num)