human
Give me a code to program to find remainder without using modulo or % operator and the other steps required given the following:
Program to find remainder without using modulo or % operator | This function returns remainder of num / divisor without using % ( modulo ) operator.
Driver program to test above functions"
How can the above be solved in Python?
assistant
#Here is code to program to find remainder without using modulo or % operator and the other steps required.
 def getRemainder ( num , divisor ) :
	return ( num - divisor * ( num // divisor ) )
num = 100
divisor = 7
print ( getRemainder ( num , divisor ) )