Question #278837

Write two Python functions quotient () and remainder () which takes two numbers a and b as parameters such that:

• The function quotient () return the quotient q of the Euclidean division of a by b (without using the operator '//’) 


Expert's answer

qr = divmod(103)
print("Quotient: ", q)
print("Remainder: ", r)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS