human
What is a code to sum of the multiples of two numbers below N and the other steps required given the following:
Sum of the multiples of two numbers below N | Function to return the sum of all the integers below N which are multiples of either A or B.
If i is a multiple of a or b.
Driver code"
Solution in Python:
assistant
#Here is code to sum of the multiples of two numbers below N and the other steps required.
 def findSum ( n , a , b ) :
	sum = 0
	for i in range ( 0 , n , 1 ) :
		if ( i % a == 0 or i % b == 0 ) :
			sum += i
	return sum
if __name__ == ' _ _ main _ _ ' :
	n = 10
	a = 3
	b = 5
	print ( findSum ( n , a , b ) )