Answer:
num1 = int(input("Numerator: "))
num2 = int(input("Denominator: "))
if num1 < 1 or num2<1:
print("Input must be greater than 1")
else:
print("Quotient: "+str(num1//num2))
print("Remainder: "+str(num1%num2))
Step-by-step explanation
The next two lines prompts the user for two numbers
num1 = int(input("Numerator: "))
num2 = int(input("Denominator: "))
The following if statement checks if one or both of the inputs is not positive
if num1 < 1 or num2<1:
print("Input must be greater than 1")-> If yes, the print statement is executed
If otherwise, the quotient and remainder is printed
else:
print("Quotient: "+str(num1//num2))
print("Remainder: "+str(num1%num2))