Write a python function that when given two numbers, would divide the first number by second number and return the quotient and remainder


Topic: Write a python function that when given two numbers, would divide the first number by second number and return the quotient and remainder

Solution

def divide_first_number_by_second(num1, num2):
    return (num1 // num2), (num1 % num2)



List all Python Programs