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