Answers for "python mod of list numpy"

0

python mod of list numpy

# 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)
Posted by: Guest on March-30-2022

Python Answers by Framework

Browse Popular Code Answers by Language