Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

floor divide python

# floor devision and modulo 
def euclidean_division(x, y):
	quotient = x // y
	remainder = x % y
	print(f"{quotient} remainder {remainder}")

euclidean_division(1, 7000)  
#finds both in one function
 
PREVIOUS NEXT
Tagged: #floor #divide #python
ADD COMMENT
Topic
Name
5+1 =