নামপি divmod
🌈নামপি divmod কি?
📋নামপি divmod হলো ভাগফল ও ভাগশেষ নির্ণয় করার পদ্ধতি।
⚒️নামপি divmod ভাগফল ও ভাগশেষ নির্ণয় করতে ব্যবহৃত হয়।
নামপি divmod ভাগফল ও ভাগশেষ নির্ণয় করার উদাহরণ।
numpy
import numpy
a = numpy.array([4, 5, 6])
b = numpy.array([1, 2, 3])
c = numpy.divmod(a, b)
print(c)