Articles → Numpy → Fmod Function In NumpyFmod Function In NumpyIn this article, we will discuss the fmod function in NumPy.Purpose Returns the remainder of the division.Syntax Numpy.fmod(x1,x2)This function will return the reminder when x1 is divided by x2.Example import numpy as np print("Output:", np.fmod(11,3))Output Click to EnlargePosted By - Karan Gupta Posted On - Wednesday, June 19, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
Numpy.fmod(x1,x2)
import numpy as np print("Output:", np.fmod(11,3))
Query/Feedback