0
Write an algorithm to compute and print the quotient and remainder of two numbers a and b .And also find flowchart and algorithm
guys pls I want to know this answer
2 odpowiedzi
+ 3
function = divmod
OK, any more standard library function questions?
+ 1
a = int(input("Enter the first number: "))
b = int(input("Enter the second number: "))
print(a / b) # prints the quotient of a divided by b
print(a % b) # prints the remainder of a divided by b